@number10/phaserjsx 0.3.1 → 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-KcTgaYRi.cjs → TransformOriginView-Bx81YEUU.cjs} +1077 -1500
- package/dist/TransformOriginView-Bx81YEUU.cjs.map +1 -0
- package/dist/{TransformOriginView-CzVjS16F.js → TransformOriginView-DCvId72M.js} +1200 -1623
- 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 +3 -2
- package/dist/components/custom/ScrollSlider.d.ts.map +1 -1
- package/dist/components/custom/ScrollView.d.ts +13 -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 +2152 -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 -132
- 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/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 +28 -3
- package/dist/vdom.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/TransformOriginView-CzVjS16F.js.map +0 -1
- package/dist/TransformOriginView-KcTgaYRi.cjs.map +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VNodeLike } from '../../vdom';
|
|
2
|
+
import { LayoutProps, PhaserProps, TransformProps } from '../../core-props';
|
|
3
|
+
import { ParticleExclusionZoneConfig, ParticleZoneConfig } from '../../particles/emit-zone';
|
|
4
|
+
import { ParticlesHandle } from '../../particles/particle-types';
|
|
5
|
+
import { ParticleEmitterConfig, ParticlePresetName } from '../../particles/preset-registry';
|
|
6
|
+
import { PropsDefaultExtension } from '../../types';
|
|
7
|
+
export interface ParticlesProps extends TransformProps, PhaserProps, Omit<LayoutProps, 'direction' | 'justifyContent' | 'alignItems' | 'gap' | 'flexWrap'>, PropsDefaultExtension<ParticlesHandle> {
|
|
8
|
+
texture: string;
|
|
9
|
+
frame?: string | number;
|
|
10
|
+
preset?: ParticlePresetName;
|
|
11
|
+
config?: ParticleEmitterConfig;
|
|
12
|
+
zone?: ParticleZoneConfig;
|
|
13
|
+
/** Optional exclusion zones (coordinates relative to particle emitter) */
|
|
14
|
+
excludeZones?: ParticleExclusionZoneConfig | ParticleExclusionZoneConfig[] | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare function Particles(props: ParticlesProps): VNodeLike;
|
|
17
|
+
//# sourceMappingURL=Particles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Particles.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Particles.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAChF,OAAO,KAAK,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAChG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAChG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAExD,MAAM,WAAW,cACf,SAAQ,cAAc,EACpB,WAAW,EACX,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,gBAAgB,GAAG,YAAY,GAAG,KAAK,GAAG,UAAU,CAAC,EACrF,qBAAqB,CAAC,eAAe,CAAC;IACxC,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,kBAAkB,CAAA;IAC3B,MAAM,CAAC,EAAE,qBAAqB,CAAA;IAC9B,IAAI,CAAC,EAAE,kBAAkB,CAAA;IACzB,0EAA0E;IAC1E,YAAY,CAAC,EAAE,2BAA2B,GAAG,2BAA2B,EAAE,GAAG,SAAS,CAAA;CACvF;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS,CAE1D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ChildrenType } from '../../types';
|
|
2
|
+
import { VNodeLike } from '../../vdom';
|
|
2
3
|
/**
|
|
3
4
|
* Props for Portal component
|
|
4
5
|
*/
|
|
@@ -39,5 +40,5 @@ export interface PortalProps {
|
|
|
39
40
|
* </Portal>
|
|
40
41
|
* ```
|
|
41
42
|
*/
|
|
42
|
-
export declare function Portal(props: PortalProps):
|
|
43
|
+
export declare function Portal(props: PortalProps): VNodeLike;
|
|
43
44
|
//# sourceMappingURL=Portal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Portal.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Portal.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"Portal.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Portal.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAG3C;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IACjC,kCAAkC;IAClC,QAAQ,EAAE,YAAY,CAAA;IACtB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gCAAgC;IAChC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,iEAAiE;IACjE,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,CAyJpD"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VNodeLike } from '../../vdom';
|
|
1
2
|
/**
|
|
2
3
|
* Props for RadioButton component
|
|
3
4
|
*/
|
|
@@ -16,5 +17,5 @@ export interface RadioButtonProps {
|
|
|
16
17
|
* @param props - RadioButton properties
|
|
17
18
|
* @returns RadioButton JSX element
|
|
18
19
|
*/
|
|
19
|
-
export declare function RadioButton(props: RadioButtonProps):
|
|
20
|
+
export declare function RadioButton(props: RadioButtonProps): VNodeLike;
|
|
20
21
|
//# sourceMappingURL=RadioButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/components/custom/RadioButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/components/custom/RadioButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAG3C;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IACjC,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,SAAS,CAuC9D"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* RadioGroup component - Manages a group of radio buttons with single-selection logic
|
|
4
|
-
*/
|
|
1
|
+
import { VNodeLike } from '../../vdom';
|
|
5
2
|
/**
|
|
6
3
|
* Option item for RadioGroup
|
|
7
4
|
*/
|
|
@@ -29,5 +26,5 @@ export interface RadioGroupProps {
|
|
|
29
26
|
* @param props - RadioGroup properties
|
|
30
27
|
* @returns RadioGroup JSX element
|
|
31
28
|
*/
|
|
32
|
-
export declare function RadioGroup(props: RadioGroupProps):
|
|
29
|
+
export declare function RadioGroup(props: RadioGroupProps): VNodeLike;
|
|
33
30
|
//# sourceMappingURL=RadioGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/custom/RadioGroup.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;GAEG;
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/custom/RadioGroup.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;GAEG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAK3C;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,kCAAkC;IAClC,OAAO,EAAE,gBAAgB,EAAE,CAAA;IAC3B,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,2CAA2C;IAC3C,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS,CAqD5D"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChildrenType } from '../../types';
|
|
2
2
|
import { ViewProps } from '..';
|
|
3
|
+
import { VNodeLike } from '../../vdom';
|
|
3
4
|
/**
|
|
4
5
|
* Extended ViewProps with origin support
|
|
5
6
|
*/
|
|
@@ -41,5 +42,5 @@ export interface RefOriginViewProps extends Omit<ViewProps, 'x' | 'y' | 'childre
|
|
|
41
42
|
* @param props - RefOriginView props
|
|
42
43
|
* @returns JSX element
|
|
43
44
|
*/
|
|
44
|
-
export declare function RefOriginView({ originX, originY, x, y, width, height, ref, padding, children, ...viewProps }: RefOriginViewProps):
|
|
45
|
+
export declare function RefOriginView({ originX, originY, x, y, width, height, ref, padding, children, ...viewProps }: RefOriginViewProps): VNodeLike;
|
|
45
46
|
//# sourceMappingURL=RefOriginView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RefOriginView.d.ts","sourceRoot":"","sources":["../../../src/components/custom/RefOriginView.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"RefOriginView.d.ts","sourceRoot":"","sources":["../../../src/components/custom/RefOriginView.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;AAEnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAG3C;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,SAAS,EAAE,GAAG,GAAG,GAAG,GAAG,UAAU,CAAC;IACjF;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAa,EACb,OAAa,EACb,CAAK,EACL,CAAK,EACL,KAAK,EACL,MAAM,EACN,GAAG,EACH,OAAO,EACP,QAAQ,EACR,GAAG,SAAS,EACb,EAAE,kBAAkB,GAAG,SAAS,CA4DhC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { VNodeLike } from '../../vdom';
|
|
1
2
|
/** Size variants for the scroll slider */
|
|
2
|
-
export type SliderSize = 'large' | 'medium' | 'small' | 'tiny' | undefined;
|
|
3
|
+
export type SliderSize = 'large' | 'medium' | 'small' | 'tiny' | 'micro' | 'nano' | undefined;
|
|
3
4
|
/**
|
|
4
5
|
* Calculate slider dimensions based on size variant and theme
|
|
5
6
|
* @param size - Size variant
|
|
@@ -36,5 +37,5 @@ export interface ScrollSliderProps {
|
|
|
36
37
|
* @param props - ScrollSlider properties
|
|
37
38
|
* @returns JSX element
|
|
38
39
|
*/
|
|
39
|
-
export declare function ScrollSlider(props: ScrollSliderProps):
|
|
40
|
+
export declare function ScrollSlider(props: ScrollSliderProps): VNodeLike;
|
|
40
41
|
//# sourceMappingURL=ScrollSlider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollSlider.d.ts","sourceRoot":"","sources":["../../../src/components/custom/ScrollSlider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScrollSlider.d.ts","sourceRoot":"","sources":["../../../src/components/custom/ScrollSlider.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAI3C,0CAA0C;AAC1C,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAA;AAE7F;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,UAAU;;;;EAmBnD;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,8BAA8B;IAC9B,SAAS,EAAE,UAAU,GAAG,YAAY,CAAA;IACpC,mDAAmD;IACnD,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,wCAAwC;IACxC,cAAc,EAAE,MAAM,CAAA;IACtB,8BAA8B;IAC9B,YAAY,EAAE,MAAM,CAAA;IACpB,6BAA6B;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,8EAA8E;IAC9E,QAAQ,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qEAAqE;IACrE,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;CAC3B;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,CAmLhE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ViewProps } from '..';
|
|
2
|
+
import { VNodeLike } from '../../vdom';
|
|
2
3
|
import { SliderSize } from './ScrollSlider';
|
|
3
4
|
/**
|
|
4
5
|
* Scroll information data
|
|
@@ -39,10 +40,11 @@ export interface ScrollViewProps extends ViewProps {
|
|
|
39
40
|
showHorizontalSlider?: boolean | 'auto' | undefined;
|
|
40
41
|
/** Size variant for the scroll sliders */
|
|
41
42
|
sliderSize?: SliderSize;
|
|
42
|
-
/** Initial scroll position */
|
|
43
|
+
/** Initial scroll position; with snap enabled you can optionally set snapIndex instead of dx/dy */
|
|
43
44
|
scroll?: {
|
|
44
|
-
dx
|
|
45
|
-
dy
|
|
45
|
+
dx?: number | undefined;
|
|
46
|
+
dy?: number | undefined;
|
|
47
|
+
snapIndex?: number | undefined;
|
|
46
48
|
};
|
|
47
49
|
/** Callback when scroll information changes */
|
|
48
50
|
onScrollInfoChange?: (info: ScrollInfo) => void;
|
|
@@ -54,11 +56,18 @@ export interface ScrollViewProps extends ViewProps {
|
|
|
54
56
|
snapThreshold?: number;
|
|
55
57
|
/** Enable momentum scrolling */
|
|
56
58
|
momentum?: boolean;
|
|
59
|
+
/** Callback fired when snapping lands on a target (index is from snap.positions) */
|
|
60
|
+
onSnap?: (index: number) => void;
|
|
61
|
+
/** Callback to deliver the slider size */
|
|
62
|
+
onSliderSize?: (size: {
|
|
63
|
+
width: number;
|
|
64
|
+
height: number;
|
|
65
|
+
}) => void;
|
|
57
66
|
}
|
|
58
67
|
/**
|
|
59
68
|
* ScrollView component providing a scrollable area with an optional vertical slider
|
|
60
69
|
* @param props - ScrollView properties
|
|
61
70
|
* @returns JSX element
|
|
62
71
|
*/
|
|
63
|
-
export declare function ScrollView(props: ScrollViewProps):
|
|
72
|
+
export declare function ScrollView(props: ScrollViewProps): VNodeLike;
|
|
64
73
|
//# sourceMappingURL=ScrollView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../src/components/custom/ScrollView.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../src/components/custom/ScrollView.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;AAInC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAE3C,OAAO,EAAqC,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEnF;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,yCAAyC;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,qBAAqB;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,sBAAsB;IACtB,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB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E,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CACjE;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS,CA6nB5D"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ViewProps } from '..';
|
|
2
2
|
import { ChildrenType } from '../../types';
|
|
3
|
+
import { VNodeLike } from '../../vdom';
|
|
3
4
|
export type SidebarVariant = 'solid' | 'muted' | 'ghost' | 'inset';
|
|
4
5
|
export type SidebarSize = 'sm' | 'md' | 'lg';
|
|
5
6
|
export interface SidebarNavItem {
|
|
@@ -46,5 +47,5 @@ export interface SidebarProps extends ViewProps {
|
|
|
46
47
|
* Sidebar component - pre-configured container for navigation/options
|
|
47
48
|
* Adds variants, size presets, and optional header/sections/footer slots.
|
|
48
49
|
*/
|
|
49
|
-
export declare function Sidebar(props: SidebarProps):
|
|
50
|
+
export declare function Sidebar(props: SidebarProps): VNodeLike;
|
|
50
51
|
//# sourceMappingURL=Sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Sidebar.tsx"],"names":[],"mappings":"AAEA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;AAKnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Sidebar.tsx"],"names":[],"mappings":"AAEA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;AAKnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAM3C,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,G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D;;;GAGG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,SAAS,CAoLtD"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ViewProps } from '..';
|
|
1
2
|
import { EffectDefinition } from '../../effects';
|
|
2
3
|
import { VNode } from '../../hooks';
|
|
3
4
|
import { ChildrenType } from '../../types';
|
|
4
|
-
import {
|
|
5
|
+
import { VNodeLike } from '../../vdom';
|
|
5
6
|
/**
|
|
6
7
|
* Slider mark/tick definition
|
|
7
8
|
*/
|
|
@@ -121,11 +122,11 @@ export interface RangeSliderProps extends Omit<ViewProps, 'children'>, EffectDef
|
|
|
121
122
|
* @param props - Slider properties
|
|
122
123
|
* @returns Slider JSX element
|
|
123
124
|
*/
|
|
124
|
-
export declare function Slider(props: SliderProps):
|
|
125
|
+
export declare function Slider(props: SliderProps): VNodeLike;
|
|
125
126
|
/**
|
|
126
127
|
* RangeSlider component - interactive range selection with two thumbs
|
|
127
128
|
* @param props - RangeSlider properties
|
|
128
129
|
* @returns RangeSlider JSX element
|
|
129
130
|
*/
|
|
130
|
-
export declare function RangeSlider(props: RangeSliderProps):
|
|
131
|
+
export declare function RangeSlider(props: RangeSliderProps): VNodeLike;
|
|
131
132
|
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Slider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Slider.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;AAEnC,OAAO,EAA0C,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAC7F,OAAO,EAAkD,KAAK,KAAK,EAAE,MAAM,aAAa,CAAA;AAExF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,K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|
|
2
|
+
import { default as Phaser } from 'phaser';
|
|
3
|
+
import { LayoutProps, PhaserProps, TransformProps } from '../../core-props';
|
|
4
|
+
import { ChildrenType, PropsDefaultExtension } from '../../types';
|
|
5
|
+
/**
|
|
6
|
+
* Props for Sprite component
|
|
7
|
+
* Explicitly defined to ensure type safety in JSX usage
|
|
8
|
+
*/
|
|
9
|
+
export interface SpriteProps extends TransformProps, PhaserProps, Omit<LayoutProps, 'direction' | 'justifyContent' | 'alignItems' | 'gap' | 'flexWrap'>, PropsDefaultExtension<Phaser.GameObjects.Sprite> {
|
|
10
|
+
/** Texture key (loaded via Phaser's texture manager) */
|
|
11
|
+
texture: string;
|
|
12
|
+
/** Optional frame from texture atlas or spritesheet */
|
|
13
|
+
frame?: string | number;
|
|
14
|
+
/** Tint color applied to sprite (0xRRGGBB) */
|
|
15
|
+
tint?: number;
|
|
16
|
+
/** Display width (scales sprite to fit) */
|
|
17
|
+
displayWidth?: number;
|
|
18
|
+
/** Display height (scales sprite to fit) */
|
|
19
|
+
displayHeight?: number;
|
|
20
|
+
/**
|
|
21
|
+
* How sprite should fit within bounds (if displayWidth/displayHeight set)
|
|
22
|
+
* - 'fill': Stretch to fill (default, may distort aspect ratio)
|
|
23
|
+
* - 'contain': Scale to fit within bounds, preserve aspect ratio
|
|
24
|
+
* - 'cover': Scale to cover bounds, preserve aspect ratio (may crop)
|
|
25
|
+
*/
|
|
26
|
+
fit?: 'fill' | 'contain' | 'cover';
|
|
27
|
+
/** Animation key to play (pre-registered in Phaser AnimationManager) */
|
|
28
|
+
animationKey?: string;
|
|
29
|
+
/** Loop animation (default: false) */
|
|
30
|
+
loop?: boolean;
|
|
31
|
+
/** Delay between animation repeats in ms (default: 0) */
|
|
32
|
+
repeatDelay?: number;
|
|
33
|
+
/** Callback when animation starts */
|
|
34
|
+
onAnimationStart?: (key: string) => void;
|
|
35
|
+
/** Callback when animation completes */
|
|
36
|
+
onAnimationComplete?: (key: string) => void;
|
|
37
|
+
/** Callback when animation repeats */
|
|
38
|
+
onAnimationRepeat?: (key: string) => void;
|
|
39
|
+
/** Callback on each animation frame update */
|
|
40
|
+
onAnimationUpdate?: (key: string, frame: Phaser.Animations.AnimationFrame) => void;
|
|
41
|
+
/** Origin X (0-1, default 0.5) */
|
|
42
|
+
originX?: number;
|
|
43
|
+
/** Origin Y (0-1, default 0.5) */
|
|
44
|
+
originY?: number;
|
|
45
|
+
/** Children are not supported for Sprite component */
|
|
46
|
+
children?: ChildrenType;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Sprite component
|
|
50
|
+
* Displays animated sprites with Phaser animation system
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```tsx
|
|
54
|
+
* // Basic sprite
|
|
55
|
+
* <Sprite texture="player" frame="idle" />
|
|
56
|
+
*
|
|
57
|
+
* // Animated sprite
|
|
58
|
+
* <Sprite
|
|
59
|
+
* texture="player"
|
|
60
|
+
* animationKey="walk"
|
|
61
|
+
* loop={true}
|
|
62
|
+
* />
|
|
63
|
+
*
|
|
64
|
+
* // Scaled sprite with fit
|
|
65
|
+
* <Sprite
|
|
66
|
+
* texture="coin"
|
|
67
|
+
* displayWidth={32}
|
|
68
|
+
* displayHeight={32}
|
|
69
|
+
* fit="contain"
|
|
70
|
+
* />
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function Sprite(props: SpriteProps): VNodeLike;
|
|
74
|
+
//# sourceMappingURL=Sprite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sprite.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Sprite.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;GAGG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kBAA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;IAClC,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,CAOpD"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ViewProps } from '..';
|
|
2
|
+
import { ChildrenType } from '../../types';
|
|
3
|
+
import { VNodeLike } from '../../vdom';
|
|
4
|
+
import { ScrollViewProps } from './ScrollView';
|
|
5
|
+
/**
|
|
6
|
+
* Props for Tab header
|
|
7
|
+
*/
|
|
8
|
+
export interface TabProps extends Omit<ViewProps, 'children'> {
|
|
9
|
+
/** Tab header content */
|
|
10
|
+
children?: ChildrenType;
|
|
11
|
+
/** Disabled tab */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Props for Tab panel
|
|
16
|
+
*/
|
|
17
|
+
export interface TabPanelProps extends Omit<ViewProps, 'children'> {
|
|
18
|
+
/** Panel content */
|
|
19
|
+
children?: ChildrenType;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Props for Tabs container
|
|
23
|
+
*/
|
|
24
|
+
export interface TabsProps extends Omit<ViewProps, 'children'> {
|
|
25
|
+
/** Tab and TabPanel children */
|
|
26
|
+
children?: ChildrenType;
|
|
27
|
+
/** Controlled active index */
|
|
28
|
+
activeIndex?: number;
|
|
29
|
+
/** Uncontrolled default index */
|
|
30
|
+
defaultIndex?: number;
|
|
31
|
+
/** Called when active tab changes */
|
|
32
|
+
onChange?: (index: number) => void;
|
|
33
|
+
/** Enable horizontal scrolling for the tab list */
|
|
34
|
+
scrollableTabs?: boolean;
|
|
35
|
+
/** ScrollView props applied to the tab list when scrollableTabs is enabled */
|
|
36
|
+
tabListScrollProps?: Omit<ScrollViewProps, 'children'>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Tab marker component - used inside Tabs
|
|
40
|
+
*/
|
|
41
|
+
export declare function Tab(_props: TabProps): VNodeLike;
|
|
42
|
+
/**
|
|
43
|
+
* TabPanel marker component - used inside Tabs
|
|
44
|
+
*/
|
|
45
|
+
export declare function TabPanel(_props: TabPanelProps): VNodeLike;
|
|
46
|
+
/**
|
|
47
|
+
* Tabs component
|
|
48
|
+
*/
|
|
49
|
+
export declare function Tabs(props: TabsProps): VNodeLike;
|
|
50
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Tabs.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;AAInC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAE3C,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAA;AAE/D;;GAEG;AACH,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC3D,yBAAyB;IACzB,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,mBAAmB;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,oBAAoB;IACpB,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC5D,gCAAgC;IAChC,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iCAAiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,mDAAmD;IACnD,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,8EAA8E;IAC9E,kBAAkB,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAA;CACvD;AAED;;GAEG;AACH,wBAAgB,GAAG,CAAC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAE/C;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,aAAa,GAAG,SAAS,CAEzD;AAUD;;GAEG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAyHhD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as Phaser } from 'phaser';
|
|
2
2
|
import { EdgeInsets, PhaserProps, TextSpecificProps, TransformProps } from '../../core-props';
|
|
3
3
|
import { ChildrenType, PropsDefaultExtension } from '../../types';
|
|
4
|
+
import { VNodeLike } from '../../vdom';
|
|
4
5
|
/**
|
|
5
6
|
* Props for Text component
|
|
6
7
|
* Explicitly defined to ensure type safety in JSX usage
|
|
@@ -22,5 +23,5 @@ export interface TextProps extends Omit<TransformProps, 'scaleX' | 'scaleY' | 's
|
|
|
22
23
|
* <Text text="Hello World" />
|
|
23
24
|
* ```
|
|
24
25
|
*/
|
|
25
|
-
export declare function Text(props: TextProps):
|
|
26
|
+
export declare function Text(props: TextProps): VNodeLike;
|
|
26
27
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Text.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;GAGG;AACH,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGlG,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Text.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;GAGG;AACH,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGlG,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAE3C;;;GAGG;AACH,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,cAAc,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC,EACtE,WAAW,EACX,iBAAiB,EACjB,qBAAqB,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC;IAChD,oDAAoD;IACpD,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,+BAA+B;IAC/B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;CAC5D;AAED;;;;;;;;GAQG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAQhD"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { VNodeLike } from '../../vdom';
|
|
2
|
+
import { default as Phaser } from 'phaser';
|
|
3
|
+
import { PhaserProps, TransformProps } from '../../core-props';
|
|
4
|
+
import { ChildrenType, PropsDefaultExtension } from '../../types';
|
|
5
|
+
/**
|
|
6
|
+
* Props for TileSprite component
|
|
7
|
+
* Explicitly defined to ensure type safety in JSX usage
|
|
8
|
+
*/
|
|
9
|
+
export interface TileSpriteProps extends TransformProps, PhaserProps, PropsDefaultExtension<Phaser.GameObjects.TileSprite> {
|
|
10
|
+
/** Texture key (loaded via Phaser's texture manager) */
|
|
11
|
+
texture: string;
|
|
12
|
+
/** Optional frame from texture atlas */
|
|
13
|
+
frame?: string | number;
|
|
14
|
+
/** Width of the tile sprite area */
|
|
15
|
+
width: number;
|
|
16
|
+
/** Height of the tile sprite area */
|
|
17
|
+
height: number;
|
|
18
|
+
/** Horizontal tile position offset (for scrolling effect) */
|
|
19
|
+
tilePositionX?: number;
|
|
20
|
+
/** Vertical tile position offset (for scrolling effect) */
|
|
21
|
+
tilePositionY?: number;
|
|
22
|
+
/** Horizontal tile scale factor */
|
|
23
|
+
tileScaleX?: number;
|
|
24
|
+
/** Vertical tile scale factor */
|
|
25
|
+
tileScaleY?: number;
|
|
26
|
+
/** Tint color applied to tiles (0xRRGGBB) */
|
|
27
|
+
tint?: number;
|
|
28
|
+
/** Origin X (0-1, default 0) */
|
|
29
|
+
originX?: number;
|
|
30
|
+
/** Origin Y (0-1, default 0) */
|
|
31
|
+
originY?: number;
|
|
32
|
+
/** Children are not supported for TileSprite component */
|
|
33
|
+
children?: ChildrenType;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* TileSprite component
|
|
37
|
+
* Displays repeating texture patterns for backgrounds and effects
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```tsx
|
|
41
|
+
* // Scrolling background
|
|
42
|
+
* <TileSprite
|
|
43
|
+
* texture="clouds"
|
|
44
|
+
* width={800}
|
|
45
|
+
* height={200}
|
|
46
|
+
* tilePositionX={scrollOffset}
|
|
47
|
+
* />
|
|
48
|
+
*
|
|
49
|
+
* // Scaled tiles
|
|
50
|
+
* <TileSprite
|
|
51
|
+
* texture="pattern"
|
|
52
|
+
* width={400}
|
|
53
|
+
* height={400}
|
|
54
|
+
* tileScaleX={2}
|
|
55
|
+
* tileScaleY={2}
|
|
56
|
+
* />
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare function TileSprite(props: TileSpriteProps): VNodeLike;
|
|
60
|
+
//# sourceMappingURL=TileSprite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileSprite.d.ts","sourceRoot":"","sources":["../../../src/components/custom/TileSprite.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;GAGG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGnE,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEtE;;;GAGG;AACH,MAAM,WAAW,eACf,SAAQ,cAAc,EACpB,WAAW,EACX,qBAAqB,CAAC,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC;IACtD,wDAAwD;IACxD,OAAO,EAAE,MAAM,CAAA;IAEf,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAA;IAEb,qCAAqC;IACrC,MAAM,EAAE,MAAM,CAAA;IAEd,6DAA6D;IAC7D,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS,CAO5D"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PartialTheme } from '../../theme-base';
|
|
2
2
|
import { ChildrenType } from '../../types';
|
|
3
|
+
import { VNodeLike } from '../../vdom';
|
|
3
4
|
/**
|
|
4
5
|
* Props for Toggle component
|
|
5
6
|
*/
|
|
@@ -47,5 +48,5 @@ export interface ToggleProps {
|
|
|
47
48
|
* />
|
|
48
49
|
* ```
|
|
49
50
|
*/
|
|
50
|
-
export declare function Toggle(props: ToggleProps):
|
|
51
|
+
export declare function Toggle(props: ToggleProps): VNodeLike;
|
|
51
52
|
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Toggle.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/custom/Toggle.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAqB3C;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IACzC,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,sBAAsB;IACtB,KAAK,CAAC,EAAE,YAAY,CAAA;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,CAoMpD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { VNode } from '../../hooks';
|
|
2
1
|
import { ViewProps } from '..';
|
|
2
|
+
import { VNode } from '../../hooks';
|
|
3
|
+
import { VNodeLike } from '../../vdom';
|
|
3
4
|
/**
|
|
4
5
|
* Extended ViewProps with origin support for declarative transforms
|
|
5
6
|
*/
|
|
@@ -30,5 +31,5 @@ export interface TransformOriginViewProps extends Omit<ViewProps, 'children'> {
|
|
|
30
31
|
* @param props - TransformOriginView props
|
|
31
32
|
* @returns JSX element
|
|
32
33
|
*/
|
|
33
|
-
export declare function TransformOriginView({ originX, originY, width, height, x, y, children, rotation, scale, scaleX, scaleY, backgroundColor, backgroundAlpha, cornerRadius, borderWidth, borderColor, borderAlpha, ...outerViewProps }: TransformOriginViewProps):
|
|
34
|
+
export declare function TransformOriginView({ originX, originY, width, height, x, y, children, rotation, scale, scaleX, scaleY, backgroundColor, backgroundAlpha, cornerRadius, borderWidth, borderColor, borderAlpha, ...outerViewProps }: TransformOriginViewProps): VNodeLike;
|
|
34
35
|
//# sourceMappingURL=TransformOriginView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransformOriginView.d.ts","sourceRoot":"","sources":["../../../src/components/custom/TransformOriginView.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"TransformOriginView.d.ts","sourceRoot":"","sources":["../../../src/components/custom/TransformOriginView.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;AACnC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAG3C;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC3E;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,OAAa,EACb,OAAa,EACb,KAAK,EACL,MAAM,EACN,CAAK,EACL,CAAK,EACL,QAAQ,EAER,QAAQ,EACR,KAAK,EACL,MAAM,EACN,MAAM,EAEN,eAAe,EACf,eAAe,EACf,YAAY,EACZ,WAAW,EACX,WAAW,EACX,WAAW,EAEX,GAAG,cAAc,EAClB,EAAE,wBAAwB,GAAG,SAAS,CAsDtC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as Phaser } from 'phaser';
|
|
2
2
|
import { BackgroundProps, GestureProps, LayoutProps, PhaserProps, TransformProps } from '../../core-props';
|
|
3
3
|
import { ChildrenType, PropsDefaultExtension } from '../../types';
|
|
4
|
+
import { VNodeLike } from '../../vdom';
|
|
4
5
|
/**
|
|
5
6
|
* Props for View component
|
|
6
7
|
* Explicitly defined to ensure type safety in JSX usage
|
|
@@ -29,5 +30,5 @@ export interface ViewProps extends TransformProps, PhaserProps, LayoutProps, Bac
|
|
|
29
30
|
* </View>
|
|
30
31
|
* ```
|
|
31
32
|
*/
|
|
32
|
-
export declare function View(props: ViewProps):
|
|
33
|
+
export declare function View(props: ViewProps): VNodeLike;
|
|
33
34
|
//# sourceMappingURL=View.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../src/components/custom/View.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;GAGG;AACH,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAChC,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACf,MAAM,kBAAkB,CAAA;AAGzB,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../src/components/custom/View.tsx"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B;;;GAGG;AACH,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAChC,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,EACf,MAAM,kBAAkB,CAAA;AAGzB,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAE3C;;;GAGG;AACH,MAAM,WAAW,SACf,SAAQ,cAAc,EACpB,WAAW,EACX,WAAW,EACX,eAAe,EACf,YAAY,EACZ,qBAAqB,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC;IACrD,uBAAuB;IACvB,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAMhD"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VNodeLike } from '../../vdom';
|
|
1
2
|
import { TextProps } from '../index';
|
|
2
3
|
/**
|
|
3
4
|
* WrapText component props
|
|
@@ -56,5 +57,5 @@ export interface WrapTextProps extends TextProps {
|
|
|
56
57
|
* </View>
|
|
57
58
|
* ```
|
|
58
59
|
*/
|
|
59
|
-
export declare function WrapText(props: WrapTextProps):
|
|
60
|
+
export declare function WrapText(props: WrapTextProps): VNodeLike;
|
|
60
61
|
//# sourceMappingURL=WrapText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WrapText.d.ts","sourceRoot":"","sources":["../../../src/components/custom/WrapText.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,UAAU,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,wDAAwD;IACxD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"WrapText.d.ts","sourceRoot":"","sources":["../../../src/components/custom/WrapText.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAC3C,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,UAAU,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,wDAAwD;IACxD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,SAAS,CAuIxD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const vdom = require("../../TransformOriginView-
|
|
3
|
+
const vdom = require("../../TransformOriginView-Bx81YEUU.cjs");
|
|
4
4
|
exports.Accordion = vdom.Accordion;
|
|
5
5
|
exports.AlertDialog = vdom.AlertDialog;
|
|
6
6
|
exports.Button = vdom.Button;
|
|
@@ -11,9 +11,11 @@ exports.Divider = vdom.Divider;
|
|
|
11
11
|
exports.Dropdown = vdom.Dropdown;
|
|
12
12
|
exports.Icon = vdom.Icon;
|
|
13
13
|
exports.Image = vdom.Image;
|
|
14
|
+
exports.Joystick = vdom.Joystick;
|
|
14
15
|
exports.Modal = vdom.Modal;
|
|
15
16
|
exports.NineSlice = vdom.NineSlice;
|
|
16
17
|
exports.NineSliceButton = vdom.NineSliceButton;
|
|
18
|
+
exports.Particles = vdom.Particles;
|
|
17
19
|
exports.Portal = vdom.Portal;
|
|
18
20
|
exports.RadioButton = vdom.RadioButton;
|
|
19
21
|
exports.RadioGroup = vdom.RadioGroup;
|
|
@@ -23,6 +25,9 @@ exports.ScrollSlider = vdom.ScrollSlider;
|
|
|
23
25
|
exports.ScrollView = vdom.ScrollView;
|
|
24
26
|
exports.Sidebar = vdom.Sidebar;
|
|
25
27
|
exports.Slider = vdom.Slider;
|
|
28
|
+
exports.Tab = vdom.Tab;
|
|
29
|
+
exports.TabPanel = vdom.TabPanel;
|
|
30
|
+
exports.Tabs = vdom.Tabs;
|
|
26
31
|
exports.Toggle = vdom.Toggle;
|
|
27
32
|
exports.TransformOriginView = vdom.TransformOriginView;
|
|
28
33
|
exports.WrapText = vdom.WrapText;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -12,9 +12,11 @@ export { Divider, type DividerProps } from './Divider';
|
|
|
12
12
|
export { Dropdown, type DropdownOption, type DropdownProps } from './Dropdown';
|
|
13
13
|
export { Icon, createIconComponent, useIconPreload, type IconLoaderFn, type IconProps, } from './Icon';
|
|
14
14
|
export { Image, type ImageProps } from './Image';
|
|
15
|
+
export { Joystick, type JoystickProps, type JoystickTheme } from './Joystick';
|
|
15
16
|
export { Modal, type ModalProps } from './Modal';
|
|
16
17
|
export { NineSlice, type NineSliceProps } from './NineSlice';
|
|
17
18
|
export { NineSliceButton, type NineSliceButtonProps } from './NineSliceButton';
|
|
19
|
+
export { Particles, type ParticlesProps } from './Particles';
|
|
18
20
|
export { Portal, type PortalProps } from './Portal';
|
|
19
21
|
export { RadioButton, type RadioButtonProps } from './RadioButton';
|
|
20
22
|
export { RadioGroup, type RadioGroupProps } from './RadioGroup';
|
|
@@ -23,6 +25,7 @@ export { ScrollSlider, calculateSliderSize, type ScrollSliderProps, type SliderS
|
|
|
23
25
|
export { ScrollView, type ScrollInfo, type ScrollViewProps } from './ScrollView';
|
|
24
26
|
export { Sidebar, type SidebarNavItem, type SidebarProps, type SidebarSection, type SidebarSize, type SidebarVariant, } from './Sidebar';
|
|
25
27
|
export { RangeSlider, Slider, type RangeSliderProps, type SliderMark, type SliderProps, } from './Slider';
|
|
28
|
+
export { Tab, TabPanel, Tabs, type TabPanelProps, type TabProps, type TabsProps } from './Tabs';
|
|
26
29
|
export { Toggle, type ToggleProps } from './Toggle';
|
|
27
30
|
export { TransformOriginView, type TransformOriginViewProps } from './TransformOriginView';
|
|
28
31
|
export { WrapText, type WrapTextProps } from './WrapText';
|