gaesup-world 0.0.769 → 0.0.771

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.
@@ -4,5 +4,5 @@ export { GaesupComponent, GaesupPassiveComponent } from "./component";
4
4
  export { GaesupController } from "./controller";
5
5
  export { GaeSupProps } from "./gaesupProps";
6
6
  export { useGaesupController } from "./hooks";
7
- export { GameBoy, GamePad, JoyStick, KeyBoardToolTip, MiniMap } from "./tools";
7
+ export { GameBoy, GamePad, JoyStick, JumpPortal, KeyBoardToolTip, MiniMap, } from "./tools";
8
8
  export { GaesupWorld } from "./world";
@@ -4,5 +4,5 @@ export { GaesupComponent, GaesupPassiveComponent } from "./component";
4
4
  export { GaesupController } from "./controller";
5
5
  export { GaeSupProps } from "./gaesupProps";
6
6
  export { useGaesupController } from "./hooks";
7
- export { GameBoy, GamePad, JoyStick, KeyBoardToolTip, MiniMap } from "./tools";
7
+ export { GameBoy, GamePad, JoyStick, JumpPortal, KeyBoardToolTip, MiniMap, } from "./tools";
8
8
  export { GaesupWorld } from "./world";
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useContext } from "react";
3
+ import { assignInlineVars } from "@vanilla-extract/dynamic";
3
4
  import { GaesupWorldContext } from "../../world/context/index.js";
4
5
  import * as style from "./style.css";
5
6
  export default function JumpPoint() {
@@ -17,5 +18,5 @@ export function JumpPortal(props) {
17
18
  return (_jsx("div", { className: style.jumpPoint, onClick: function () {
18
19
  var _a, _b;
19
20
  (_b = (_a = refs.rigidBodyRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.setTranslation(props.position, true);
20
- }, children: props.text }));
21
+ }, style: assignInlineVars(props.jumpPortalStlye), children: props.text }));
21
22
  }
@@ -18,7 +18,7 @@ export type keyControlType = {
18
18
  export type pointType = {
19
19
  text?: string;
20
20
  position: THREE.Vector3;
21
- pointStlye?: Partial<VECssType>;
21
+ jumpPortalStlye?: Partial<VECssType>;
22
22
  };
23
23
  export type pointsType = pointType[];
24
24
  export type statesType = {
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { GaeSupProps, GaesupController, GaesupWorld, GameBoy, GamePad, JoyStick, KeyBoardToolTip, MiniMap, playActions, } from "./gaesup";
1
+ export { GaeSupProps, GaesupController, GaesupWorld, GameBoy, GamePad, JoyStick, JumpPortal, KeyBoardToolTip, MiniMap, playActions, } from "./gaesup";
2
2
  export { absolute, fixed, flex, flex_absolute, flex_relative, glass, grid, grid_fixed, relative, sprinkles, } from "./styles";
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { GaeSupProps, GaesupController, GaesupWorld, GameBoy, GamePad, JoyStick, KeyBoardToolTip, MiniMap, playActions, } from "./gaesup";
1
+ export { GaeSupProps, GaesupController, GaesupWorld, GameBoy, GamePad, JoyStick, JumpPortal, KeyBoardToolTip, MiniMap, playActions, } from "./gaesup";
2
2
  export { absolute, fixed, flex, flex_absolute, flex_relative, glass, grid, grid_fixed, relative, sprinkles, } from "./styles";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaesup-world",
3
- "version": "0.0.769",
3
+ "version": "0.0.771",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",