@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.
Files changed (138) hide show
  1. package/dist/{TransformOriginView-BDM6GE2F.cjs → TransformOriginView-Bx81YEUU.cjs} +1378 -1518
  2. package/dist/TransformOriginView-Bx81YEUU.cjs.map +1 -0
  3. package/dist/{TransformOriginView-CiFiQcku.js → TransformOriginView-DCvId72M.js} +1500 -1640
  4. package/dist/TransformOriginView-DCvId72M.js.map +1 -0
  5. package/dist/camera/camera-fx-registry.d.ts +47 -0
  6. package/dist/camera/camera-fx-registry.d.ts.map +1 -0
  7. package/dist/camera/index.d.ts +6 -0
  8. package/dist/camera/index.d.ts.map +1 -0
  9. package/dist/camera/use-camera-fx.d.ts +59 -0
  10. package/dist/camera/use-camera-fx.d.ts.map +1 -0
  11. package/dist/components/appliers/applyBackground.d.ts +4 -0
  12. package/dist/components/appliers/applyBackground.d.ts.map +1 -1
  13. package/dist/components/appliers/applyParticles.d.ts +7 -0
  14. package/dist/components/appliers/applyParticles.d.ts.map +1 -0
  15. package/dist/components/appliers/applyParticlesLayout.d.ts +11 -0
  16. package/dist/components/appliers/applyParticlesLayout.d.ts.map +1 -0
  17. package/dist/components/creators/createParticlesLayout.d.ts +14 -0
  18. package/dist/components/creators/createParticlesLayout.d.ts.map +1 -0
  19. package/dist/components/custom/Accordion.d.ts +3 -2
  20. package/dist/components/custom/Accordion.d.ts.map +1 -1
  21. package/dist/components/custom/AlertDialog.d.ts +2 -1
  22. package/dist/components/custom/AlertDialog.d.ts.map +1 -1
  23. package/dist/components/custom/Button.d.ts +2 -1
  24. package/dist/components/custom/Button.d.ts.map +1 -1
  25. package/dist/components/custom/CharText/CharText.d.ts +2 -1
  26. package/dist/components/custom/CharText/CharText.d.ts.map +1 -1
  27. package/dist/components/custom/CharTextInput.d.ts +2 -1
  28. package/dist/components/custom/CharTextInput.d.ts.map +1 -1
  29. package/dist/components/custom/Dialog.d.ts +2 -1
  30. package/dist/components/custom/Dialog.d.ts.map +1 -1
  31. package/dist/components/custom/Divider.d.ts +2 -1
  32. package/dist/components/custom/Divider.d.ts.map +1 -1
  33. package/dist/components/custom/Dropdown.d.ts +2 -1
  34. package/dist/components/custom/Dropdown.d.ts.map +1 -1
  35. package/dist/components/custom/Graphics.d.ts +45 -0
  36. package/dist/components/custom/Graphics.d.ts.map +1 -0
  37. package/dist/components/custom/Icon.d.ts +3 -2
  38. package/dist/components/custom/Icon.d.ts.map +1 -1
  39. package/dist/components/custom/Image.d.ts +2 -1
  40. package/dist/components/custom/Image.d.ts.map +1 -1
  41. package/dist/components/custom/Joystick.d.ts +42 -0
  42. package/dist/components/custom/Joystick.d.ts.map +1 -0
  43. package/dist/components/custom/Modal.d.ts +2 -1
  44. package/dist/components/custom/Modal.d.ts.map +1 -1
  45. package/dist/components/custom/NineSlice.d.ts +2 -1
  46. package/dist/components/custom/NineSlice.d.ts.map +1 -1
  47. package/dist/components/custom/NineSliceButton.d.ts +2 -1
  48. package/dist/components/custom/NineSliceButton.d.ts.map +1 -1
  49. package/dist/components/custom/Particles.d.ts +17 -0
  50. package/dist/components/custom/Particles.d.ts.map +1 -0
  51. package/dist/components/custom/Portal.d.ts +2 -1
  52. package/dist/components/custom/Portal.d.ts.map +1 -1
  53. package/dist/components/custom/RadioButton.d.ts +2 -1
  54. package/dist/components/custom/RadioButton.d.ts.map +1 -1
  55. package/dist/components/custom/RadioGroup.d.ts +2 -5
  56. package/dist/components/custom/RadioGroup.d.ts.map +1 -1
  57. package/dist/components/custom/RefOriginView.d.ts +2 -1
  58. package/dist/components/custom/RefOriginView.d.ts.map +1 -1
  59. package/dist/components/custom/ScrollSlider.d.ts +7 -2
  60. package/dist/components/custom/ScrollSlider.d.ts.map +1 -1
  61. package/dist/components/custom/ScrollView.d.ts +29 -4
  62. package/dist/components/custom/ScrollView.d.ts.map +1 -1
  63. package/dist/components/custom/Sidebar.d.ts +2 -1
  64. package/dist/components/custom/Sidebar.d.ts.map +1 -1
  65. package/dist/components/custom/Slider.d.ts +4 -3
  66. package/dist/components/custom/Slider.d.ts.map +1 -1
  67. package/dist/components/custom/Sprite.d.ts +74 -0
  68. package/dist/components/custom/Sprite.d.ts.map +1 -0
  69. package/dist/components/custom/Tabs.d.ts +50 -0
  70. package/dist/components/custom/Tabs.d.ts.map +1 -0
  71. package/dist/components/custom/Text.d.ts +2 -1
  72. package/dist/components/custom/Text.d.ts.map +1 -1
  73. package/dist/components/custom/TileSprite.d.ts +60 -0
  74. package/dist/components/custom/TileSprite.d.ts.map +1 -0
  75. package/dist/components/custom/Toggle.d.ts +2 -1
  76. package/dist/components/custom/Toggle.d.ts.map +1 -1
  77. package/dist/components/custom/TransformOriginView.d.ts +3 -2
  78. package/dist/components/custom/TransformOriginView.d.ts.map +1 -1
  79. package/dist/components/custom/View.d.ts +2 -1
  80. package/dist/components/custom/View.d.ts.map +1 -1
  81. package/dist/components/custom/WrapText.d.ts +2 -1
  82. package/dist/components/custom/WrapText.d.ts.map +1 -1
  83. package/dist/components/custom/index.cjs +6 -1
  84. package/dist/components/custom/index.cjs.map +1 -1
  85. package/dist/components/custom/index.d.ts +3 -0
  86. package/dist/components/custom/index.d.ts.map +1 -1
  87. package/dist/components/custom/index.js +16 -11
  88. package/dist/components/index.d.ts +10 -8
  89. package/dist/components/index.d.ts.map +1 -1
  90. package/dist/components/internal/SceneWrapper.d.ts +1 -1
  91. package/dist/components/internal/SceneWrapper.d.ts.map +1 -1
  92. package/dist/components/primitives/particles.d.ts +37 -0
  93. package/dist/components/primitives/particles.d.ts.map +1 -0
  94. package/dist/core-types.d.ts +5 -0
  95. package/dist/core-types.d.ts.map +1 -1
  96. package/dist/gestures/gesture-manager.d.ts.map +1 -1
  97. package/dist/hooks.d.ts +124 -3
  98. package/dist/hooks.d.ts.map +1 -1
  99. package/dist/index.cjs +2153 -20
  100. package/dist/index.cjs.map +1 -1
  101. package/dist/index.d.ts +4 -1
  102. package/dist/index.d.ts.map +1 -1
  103. package/dist/index.js +2265 -131
  104. package/dist/index.js.map +1 -1
  105. package/dist/jsx-runtime.cjs.map +1 -1
  106. package/dist/jsx-runtime.d.ts +2 -3
  107. package/dist/jsx-runtime.d.ts.map +1 -1
  108. package/dist/jsx-runtime.js.map +1 -1
  109. package/dist/jsx-types.d.ts +8 -0
  110. package/dist/jsx-types.d.ts.map +1 -1
  111. package/dist/layout/layout-engine.d.ts.map +1 -1
  112. package/dist/layout/utils/size-resolver.d.ts.map +1 -1
  113. package/dist/particles/emit-zone.d.ts +67 -0
  114. package/dist/particles/emit-zone.d.ts.map +1 -0
  115. package/dist/particles/index.d.ts +8 -0
  116. package/dist/particles/index.d.ts.map +1 -0
  117. package/dist/particles/particle-types.d.ts +20 -0
  118. package/dist/particles/particle-types.d.ts.map +1 -0
  119. package/dist/particles/preset-registry.d.ts +46 -0
  120. package/dist/particles/preset-registry.d.ts.map +1 -0
  121. package/dist/particles/use-particles.d.ts +15 -0
  122. package/dist/particles/use-particles.d.ts.map +1 -0
  123. package/dist/particles/utils.d.ts +10 -0
  124. package/dist/particles/utils.d.ts.map +1 -0
  125. package/dist/plugin.d.ts +157 -0
  126. package/dist/plugin.d.ts.map +1 -0
  127. package/dist/theme-base.d.ts +10 -1
  128. package/dist/theme-base.d.ts.map +1 -1
  129. package/dist/theme-custom.d.ts +7 -0
  130. package/dist/theme-custom.d.ts.map +1 -1
  131. package/dist/theme-defaults.d.ts.map +1 -1
  132. package/dist/types.d.ts +18 -1
  133. package/dist/types.d.ts.map +1 -1
  134. package/dist/vdom.d.ts +42 -4
  135. package/dist/vdom.d.ts.map +1 -1
  136. package/package.json +4 -5
  137. package/dist/TransformOriginView-BDM6GE2F.cjs.map +0 -1
  138. 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
- export type ChildrenType = VNode | VNode[] | null | undefined;
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
  }
@@ -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,C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AAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IACjC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;IACxB,KAAK,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;CACjC;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,CAAA;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 = VNode | VNode[] | null;
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>>): Phaser.GameObjects.GameObject;
65
- export declare function mountJSX<P = Record<string, never>>(parentOrScene: ParentType, type: (props: P & MountProps) => VNode, props: MountComponentProps<P>): Phaser.GameObjects.GameObject;
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
@@ -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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AAED;;;;;;;GAOG;AAEH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,QAAQ,EACzC,aAAa,EAAE,UAAU,EACzB,IAAI,EAAE,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.2.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/number10/phaserjsx.git",
66
+ "url": "https://github.com/Michael--/phaserjsx",
67
67
  "directory": "packages/ui"
68
68
  },
69
- "homepage": "https://github.com/number10/phaserjsx",
69
+ "homepage": "https://michael--.github.io/phaserjsx/",
70
70
  "bugs": {
71
- "url": "https://github.com/number10/phaserjsx/issues"
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": {