@number10/phaserjsx 4.1.0 → 4.3.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 (67) hide show
  1. package/README.md +14 -1
  2. package/dist/clip/index.cjs +7 -695
  3. package/dist/clip/index.js +1 -687
  4. package/dist/clip/stencil-clip-depth.d.ts +10 -0
  5. package/dist/clip/stencil-clip-depth.d.ts.map +1 -0
  6. package/dist/clip/stencil-clip-fbo-bridge.d.ts +7 -0
  7. package/dist/clip/stencil-clip-fbo-bridge.d.ts.map +1 -0
  8. package/dist/clip/stencil-clip-renderer.d.ts +7 -0
  9. package/dist/clip/stencil-clip-renderer.d.ts.map +1 -0
  10. package/dist/clip/stencil-clip-state.d.ts +28 -0
  11. package/dist/clip/stencil-clip-state.d.ts.map +1 -0
  12. package/dist/clip/stencil-clip-types.d.ts +67 -0
  13. package/dist/clip/stencil-clip-types.d.ts.map +1 -0
  14. package/dist/clip/stencil-clip.d.ts +3 -84
  15. package/dist/clip/stencil-clip.d.ts.map +1 -1
  16. package/dist/clip-CHmjztBQ.cjs +705 -0
  17. package/dist/clip-CHmjztBQ.cjs.map +1 -0
  18. package/dist/clip-CPufWCSD.js +668 -0
  19. package/dist/clip-CPufWCSD.js.map +1 -0
  20. package/dist/components/appliers/applyParticles.d.ts.map +1 -1
  21. package/dist/components/custom/Badge.d.ts +73 -0
  22. package/dist/components/custom/Badge.d.ts.map +1 -0
  23. package/dist/components/custom/Checkbox.d.ts +41 -0
  24. package/dist/components/custom/Checkbox.d.ts.map +1 -0
  25. package/dist/components/custom/DebugPanel.d.ts +30 -0
  26. package/dist/components/custom/DebugPanel.d.ts.map +1 -0
  27. package/dist/components/custom/Particles.d.ts +14 -3
  28. package/dist/components/custom/Particles.d.ts.map +1 -1
  29. package/dist/components/custom/Popover.d.ts +89 -0
  30. package/dist/components/custom/Popover.d.ts.map +1 -0
  31. package/dist/components/custom/ProgressBar.d.ts +52 -0
  32. package/dist/components/custom/ProgressBar.d.ts.map +1 -0
  33. package/dist/components/custom/Toggle.d.ts.map +1 -1
  34. package/dist/components/custom/index.cjs +15 -1
  35. package/dist/components/custom/index.d.ts +5 -0
  36. package/dist/components/custom/index.d.ts.map +1 -1
  37. package/dist/components/custom/index.js +2 -2
  38. package/dist/components/index.d.ts +5 -1
  39. package/dist/components/index.d.ts.map +1 -1
  40. package/dist/components/primitives/graphics.d.ts +2 -2
  41. package/dist/components/primitives/particles.d.ts +14 -4
  42. package/dist/components/primitives/particles.d.ts.map +1 -1
  43. package/dist/components/primitives/tilesprite.d.ts +15 -19
  44. package/dist/components/primitives/tilesprite.d.ts.map +1 -1
  45. package/dist/{custom-Dp3yAJdU.cjs → custom-37gL0VZG.cjs} +1578 -264
  46. package/dist/custom-37gL0VZG.cjs.map +1 -0
  47. package/dist/{custom-C_w8D39m.js → custom-DMZASXll.js} +1455 -231
  48. package/dist/custom-DMZASXll.js.map +1 -0
  49. package/dist/gestures/gesture-manager.d.ts +1 -1
  50. package/dist/index.cjs +49 -111
  51. package/dist/index.cjs.map +1 -1
  52. package/dist/index.js +29 -105
  53. package/dist/index.js.map +1 -1
  54. package/dist/particles/emit-zone.d.ts +34 -12
  55. package/dist/particles/emit-zone.d.ts.map +1 -1
  56. package/dist/particles/index.d.ts +1 -1
  57. package/dist/particles/index.d.ts.map +1 -1
  58. package/dist/particles/use-particles.d.ts +6 -2
  59. package/dist/particles/use-particles.d.ts.map +1 -1
  60. package/dist/theme-custom.d.ts +68 -0
  61. package/dist/theme-custom.d.ts.map +1 -1
  62. package/dist/theme-defaults.d.ts.map +1 -1
  63. package/package.json +3 -2
  64. package/dist/clip/index.cjs.map +0 -1
  65. package/dist/clip/index.js.map +0 -1
  66. package/dist/custom-C_w8D39m.js.map +0 -1
  67. package/dist/custom-Dp3yAJdU.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stencil-clip-fbo-bridge.d.ts","sourceRoot":"","sources":["../../src/clip/stencil-clip-fbo-bridge.ts"],"names":[],"mappings":"AAuBA,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,qBAAqB,GAAG,IAAI,CAMlE;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAAE,EAAE,qBAAqB,GAAG,IAAI,CAsC9D"}
@@ -0,0 +1,7 @@
1
+ import { MaskState } from './stencil-clip-state';
2
+ import type * as Phaser from 'phaser';
3
+ export type GLPolyfilled = WebGLRenderingContext & {
4
+ bindVertexArray(vao: WebGLVertexArrayObject | null): void;
5
+ };
6
+ export declare function drawMaskShape(gl: GLPolyfilled, scene: Phaser.Scene, matrix: Phaser.GameObjects.Components.TransformMatrix, cameraMatrix: Phaser.GameObjects.Components.TransformMatrix | undefined, source: MaskState, logW: number, logH: number, vertBuf: WebGLBuffer, verts: Float32Array): void;
7
+ //# sourceMappingURL=stencil-clip-renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stencil-clip-renderer.d.ts","sourceRoot":"","sources":["../../src/clip/stencil-clip-renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,EAAmB,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAGtE,MAAM,MAAM,YAAY,GAAG,qBAAqB,GAAG;IACjD,eAAe,CAAC,GAAG,EAAE,sBAAsB,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1D,CAAA;AA4YD,wBAAgB,aAAa,CAC3B,EAAE,EAAE,YAAY,EAChB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,MAAM,EAAE,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,EACrD,YAAY,EAAE,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,GAAG,SAAS,EACvE,MAAM,EAAE,SAAS,EACjB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,YAAY,GAClB,IAAI,CAkCN"}
@@ -0,0 +1,28 @@
1
+ import { StencilBitmapClipSource, StencilBitmapTexture, StencilClipSource, StencilClipUpdate } from './stencil-clip-types';
2
+ export type RoundRectMaskState = {
3
+ kind: 'roundRect';
4
+ width: number;
5
+ height: number;
6
+ offsetX: number;
7
+ offsetY: number;
8
+ radii: [number, number, number, number];
9
+ };
10
+ export type BitmapMaskState = {
11
+ kind: 'bitmap';
12
+ texture: StencilBitmapTexture;
13
+ frame: string | number | undefined;
14
+ width: number | undefined;
15
+ height: number | undefined;
16
+ offsetX: number;
17
+ offsetY: number;
18
+ alphaThreshold: number;
19
+ invertAlpha: boolean;
20
+ };
21
+ export type MaskState = RoundRectMaskState | BitmapMaskState;
22
+ /** Returns true when a source/update selects the bitmap mask renderer. */
23
+ export declare function isBitmapStencilClipSource(source: StencilClipUpdate): source is Partial<StencilBitmapClipSource> & {
24
+ kind: 'bitmap';
25
+ };
26
+ export declare function toMaskState(source: StencilClipSource): MaskState;
27
+ export declare function mergeMaskState(current: MaskState, update: StencilClipUpdate): MaskState;
28
+ //# sourceMappingURL=stencil-clip-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stencil-clip-state.d.ts","sourceRoot":"","sources":["../../src/clip/stencil-clip-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EAGlB,MAAM,sBAAsB,CAAA;AAE7B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,WAAW,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,QAAQ,CAAA;IACd,OAAO,EAAE,oBAAoB,CAAA;IAC7B,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IAClC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,kBAAkB,GAAG,eAAe,CAAA;AAU5D,0EAA0E;AAC1E,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,iBAAiB,GACxB,MAAM,IAAI,OAAO,CAAC,uBAAuB,CAAC,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAEjE;AA2BD,wBAAgB,WAAW,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,CAEhE;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,GAAG,SAAS,CAyDvF"}
@@ -0,0 +1,67 @@
1
+ import type * as Phaser from 'phaser';
2
+ /** Per-corner radius specification (values in local/CSS units). */
3
+ export type StencilCornerRadius = {
4
+ tl?: number;
5
+ tr?: number;
6
+ bl?: number;
7
+ br?: number;
8
+ };
9
+ /** Describes a rounded-rectangle clip in the container's local coordinate space. */
10
+ export interface StencilRoundRectClipSource {
11
+ /**
12
+ * Clip source kind.
13
+ * Omit for backwards-compatible `applyStencilClip(container, { width, height })` calls.
14
+ */
15
+ kind?: 'rect' | 'roundRect';
16
+ /** Width of the clip rect in local units. */
17
+ width: number;
18
+ /** Height of the clip rect in local units. */
19
+ height: number;
20
+ /** X coordinate of the top-left corner in local space. Defaults to 0. */
21
+ offsetX?: number;
22
+ /** Y coordinate of the top-left corner in local space. Defaults to 0. */
23
+ offsetY?: number;
24
+ /**
25
+ * Corner radii in local units.
26
+ * A single number applies to all four corners uniformly.
27
+ * An object sets each corner individually; missing corners default to 0.
28
+ */
29
+ cornerRadius?: number | StencilCornerRadius;
30
+ }
31
+ /** Backwards-compatible alias for the original rounded-rectangle shape API. */
32
+ export type StencilClipShape = StencilRoundRectClipSource;
33
+ /** Texture reference accepted by bitmap stencil clips. */
34
+ export type StencilBitmapTexture = string | Phaser.Textures.Texture | Phaser.Textures.Frame;
35
+ /** Describes a bitmap alpha clip in the container's local coordinate space. */
36
+ export interface StencilBitmapClipSource {
37
+ /** Selects the texture-alpha mask renderer. */
38
+ kind: 'bitmap';
39
+ /** Texture key, Phaser texture, or Phaser frame to sample for mask alpha. */
40
+ texture: StencilBitmapTexture;
41
+ /** Optional frame name/index when `texture` is a key or Texture. */
42
+ frame?: string | number;
43
+ /** Width of the bitmap mask in local units. Defaults to the selected frame's pixel width. */
44
+ width?: number;
45
+ /** Height of the bitmap mask in local units. Defaults to the selected frame's pixel height. */
46
+ height?: number;
47
+ /** X coordinate of the top-left corner in local space. Defaults to 0. */
48
+ offsetX?: number;
49
+ /** Y coordinate of the top-left corner in local space. Defaults to 0. */
50
+ offsetY?: number;
51
+ /** Minimum sampled alpha required to write the stencil. Defaults to 0.5. */
52
+ alphaThreshold?: number;
53
+ /** Inverts the alpha test, clipping inside transparent pixels. Defaults to false. */
54
+ invertAlpha?: boolean;
55
+ }
56
+ /** Any mask source supported by the stencil clip renderer. */
57
+ export type StencilClipSource = StencilRoundRectClipSource | StencilBitmapClipSource;
58
+ /** Partial source updates accepted by an existing clip handle. */
59
+ export type StencilClipUpdate = Partial<StencilRoundRectClipSource> | Partial<StencilBitmapClipSource> | StencilClipSource;
60
+ /** Handle returned by applyStencilClip to update or remove the clip. */
61
+ export interface StencilClipHandle {
62
+ /** Updates the clip source. Changes take effect on the next rendered frame. */
63
+ update(source: StencilClipUpdate): void;
64
+ /** Removes the clip and restores the container's original render step. */
65
+ destroy(): void;
66
+ }
67
+ //# sourceMappingURL=stencil-clip-types.d.ts.map
@@ -0,0 +1 @@
1
+ {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MAAM,CAAA;IAChB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,8DAA8D;AAC9D,MAAM,MAAM,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAA;AAEpF,kEAAkE;AAClE,MAAM,MAAM,iBAAiB,GACzB,OAAO,CAAC,0BAA0B,CAAC,GACnC,OAAO,CAAC,uBAAuB,CAAC,GAChC,iBAAiB,CAAA;AAErB,wEAAwE;AACxE,MAAM,WAAW,iBAAiB;IAChC,+EAA+E;IAC/E,MAAM,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAAA;IACvC,0EAA0E;IAC1E,OAAO,IAAI,IAAI,CAAA;CAChB"}
@@ -1,3 +1,4 @@
1
+ import { StencilClipHandle, StencilClipSource } from './stencil-clip-types';
1
2
  /**
2
3
  * WebGL stencil-buffer clip for Phaser 4 Containers.
3
4
  *
@@ -18,90 +19,8 @@
18
19
  * render time, so no per-layout world-position tracking is needed.
19
20
  */
20
21
  import * as Phaser from 'phaser';
21
- /** Per-corner radius specification (values in local/CSS units). */
22
- export type StencilCornerRadius = {
23
- tl?: number;
24
- tr?: number;
25
- bl?: number;
26
- br?: number;
27
- };
28
- /** Describes a rounded-rectangle clip in the container's local coordinate space. */
29
- export interface StencilRoundRectClipSource {
30
- /**
31
- * Clip source kind.
32
- * Omit for backwards-compatible `applyStencilClip(container, { width, height })` calls.
33
- */
34
- kind?: 'rect' | 'roundRect';
35
- /** Width of the clip rect in local units. */
36
- width: number;
37
- /** Height of the clip rect in local units. */
38
- height: number;
39
- /**
40
- * X coordinate of the top-left corner in local space.
41
- * Defaults to 0 (the container's local origin).
42
- */
43
- offsetX?: number;
44
- /**
45
- * Y coordinate of the top-left corner in local space.
46
- * Defaults to 0 (the container's local origin).
47
- */
48
- offsetY?: number;
49
- /**
50
- * Corner radii in local units.
51
- * A single number applies to all four corners uniformly.
52
- * An object sets each corner individually; missing corners default to 0.
53
- */
54
- cornerRadius?: number | StencilCornerRadius;
55
- }
56
- /** Backwards-compatible alias for the original rounded-rectangle shape API. */
57
- export type StencilClipShape = StencilRoundRectClipSource;
58
- /** Texture reference accepted by bitmap stencil clips. */
59
- export type StencilBitmapTexture = string | Phaser.Textures.Texture | Phaser.Textures.Frame;
60
- /** Describes a bitmap alpha clip in the container's local coordinate space. */
61
- export interface StencilBitmapClipSource {
62
- /** Selects the texture-alpha mask renderer. */
63
- kind: 'bitmap';
64
- /** Texture key, Phaser texture, or Phaser frame to sample for mask alpha. */
65
- texture: StencilBitmapTexture;
66
- /** Optional frame name/index when `texture` is a key or Texture. */
67
- frame?: string | number;
68
- /**
69
- * Width of the bitmap mask in local units.
70
- * Defaults to the selected frame's pixel width.
71
- */
72
- width?: number;
73
- /**
74
- * Height of the bitmap mask in local units.
75
- * Defaults to the selected frame's pixel height.
76
- */
77
- height?: number;
78
- /** X coordinate of the top-left corner in local space. Defaults to 0. */
79
- offsetX?: number;
80
- /** Y coordinate of the top-left corner in local space. Defaults to 0. */
81
- offsetY?: number;
82
- /** Minimum sampled alpha required to write the stencil. Defaults to 0.5. */
83
- alphaThreshold?: number;
84
- /** Inverts the alpha test, clipping inside transparent pixels. Defaults to false. */
85
- invertAlpha?: boolean;
86
- }
87
- /** Any mask source supported by the stencil clip renderer. */
88
- export type StencilClipSource = StencilRoundRectClipSource | StencilBitmapClipSource;
89
- /** Partial source updates accepted by an existing clip handle. */
90
- export type StencilClipUpdate = Partial<StencilRoundRectClipSource> | Partial<StencilBitmapClipSource> | StencilClipSource;
91
- /** Handle returned by {@link applyStencilClip} to update or remove the clip. */
92
- export interface StencilClipHandle {
93
- /**
94
- * Updates the clip source. Changes take effect on the next rendered frame.
95
- * @param source - Partial overrides merged with the current source, or a new source.
96
- */
97
- update(source: StencilClipUpdate): void;
98
- /** Removes the clip and restores the container's original render step. */
99
- destroy(): void;
100
- }
101
- /** Returns true when a source/update selects the bitmap mask renderer. */
102
- export declare function isBitmapStencilClipSource(source: StencilClipUpdate): source is Partial<StencilBitmapClipSource> & {
103
- kind: 'bitmap';
104
- };
22
+ export { isBitmapStencilClipSource } from './stencil-clip-state';
23
+ export type { StencilBitmapClipSource, StencilBitmapTexture, StencilClipHandle, StencilClipShape, StencilClipSource, StencilClipUpdate, StencilCornerRadius, StencilRoundRectClipSource, } from './stencil-clip-types';
105
24
  /** Returns the active stencil clip handle attached to a container, if any. */
106
25
  export declare function getStencilClipHandle(container: Phaser.GameObjects.Container): StencilClipHandle | undefined;
107
26
  /** Removes any active stencil clip from a container. */
@@ -1 +1 @@
1
- {"version":3,"file":"stencil-clip.d.ts","sourceRoot":"","sources":["../../src/clip/stencil-clip.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAehC,mEAAmE;AACnE,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,oFAAoF;AACpF,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,CAAA;IAC3B,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAA;IACb,8CAA8C;IAC9C,MAAM,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAA;CAC5C;AAED,+EAA+E;AAC/E,MAAM,MAAM,gBAAgB,GAAG,0BAA0B,CAAA;AAEzD,0DAA0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