blacktrigram 0.7.36 → 0.7.38

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 (29) hide show
  1. package/README.md +6 -6
  2. package/lib/components/screens/combat/CombatScreen3D.d.ts.map +1 -1
  3. package/lib/components/screens/combat/CombatScreen3D.js +3 -3
  4. package/lib/components/screens/combat/CombatScreen3D.js.map +1 -1
  5. package/lib/components/screens/combat/hooks/useCombatLayout.d.ts.map +1 -1
  6. package/lib/components/screens/combat/hooks/useCombatLayout.js +4 -4
  7. package/lib/components/screens/combat/hooks/useCombatLayout.js.map +1 -1
  8. package/lib/components/screens/intro/IntroScreen3D.js +1 -1
  9. package/lib/components/screens/training/TrainingScreen3D.d.ts.map +1 -1
  10. package/lib/components/screens/training/TrainingScreen3D.js +2 -2
  11. package/lib/components/screens/training/TrainingScreen3D.js.map +1 -1
  12. package/lib/components/screens/training/hooks/useTrainingLayout.d.ts.map +1 -1
  13. package/lib/components/screens/training/hooks/useTrainingLayout.js +4 -3
  14. package/lib/components/screens/training/hooks/useTrainingLayout.js.map +1 -1
  15. package/lib/components/shared/ui/SplashScreen.js +2 -2
  16. package/lib/types/constants/performance.js +1 -1
  17. package/lib/types/constants/performance.js.map +1 -1
  18. package/lib/utils/mobileLayoutHelpers.d.ts.map +1 -1
  19. package/lib/utils/mobileLayoutHelpers.js +5 -4
  20. package/lib/utils/mobileLayoutHelpers.js.map +1 -1
  21. package/lib/utils/responsiveLayoutHelpers.d.ts +9 -0
  22. package/lib/utils/responsiveLayoutHelpers.d.ts.map +1 -1
  23. package/lib/utils/responsiveLayoutHelpers.js +21 -1
  24. package/lib/utils/responsiveLayoutHelpers.js.map +1 -1
  25. package/lib/utils/responsiveOrientationConstants.d.ts +44 -0
  26. package/lib/utils/responsiveOrientationConstants.d.ts.map +1 -1
  27. package/lib/utils/responsiveOrientationConstants.js +50 -1
  28. package/lib/utils/responsiveOrientationConstants.js.map +1 -1
  29. package/package.json +2 -2
package/README.md CHANGED
@@ -36,7 +36,7 @@
36
36
  <a href="https://github.com/Hack23/blacktrigram/releases"><img src="https://img.shields.io/github/v/release/Hack23/blacktrigram?style=flat-square&color=FFD700&logo=github&logoColor=white" alt="Latest GitHub release"/></a>
37
37
  </div>
38
38
  <div>
39
- <a href="https://nodejs.org/"><img src="https://img.shields.io/badge/Node-%E2%89%A525-339933?style=flat-square&logo=node.js&logoColor=white" alt="Node.js 25 or later required"/></a>
39
+ <a href="https://nodejs.org/"><img src="https://img.shields.io/badge/Node-%E2%89%A526-339933?style=flat-square&logo=node.js&logoColor=white" alt="Node.js 26 or later required"/></a>
40
40
  </div>
41
41
  </td>
42
42
  <td>
@@ -379,7 +379,7 @@ Built for **combat realism**, **60fps performance**, and **production-grade engi
379
379
  ### ⚡ Build & Performance
380
380
 
381
381
  ![Vite 8](https://img.shields.io/badge/Vite-8.x-646CFF?style=for-the-badge&logo=vite&logoColor=white)
382
- ![Node 25+](https://img.shields.io/badge/Node-%E2%89%A525-339933?style=for-the-badge&logo=node.js&logoColor=white)
382
+ ![Node 26+](https://img.shields.io/badge/Node-%E2%89%A526-339933?style=for-the-badge&logo=node.js&logoColor=white)
383
383
  ![WebGL 2](https://img.shields.io/badge/WebGL-2.0-990000?style=for-the-badge)
384
384
  ![Web Audio](https://img.shields.io/badge/Audio-Web_Audio_API-FF9500?style=for-the-badge)
385
385
  ![60fps Desktop](https://img.shields.io/badge/Desktop-60fps-4CAF50?style=for-the-badge)
@@ -603,8 +603,8 @@ _"Code is reality made computational. If it doesn't work, nothing else matters."
603
603
 
604
604
  ### 📋 Prerequisites
605
605
 
606
- - **Node.js 25+** — [download](https://nodejs.org/)
607
- - **npm 11+** (bundled with Node 25)
606
+ - **Node.js 26+** — [download](https://nodejs.org/)
607
+ - **npm 11+** (bundled with Node 26)
608
608
  - Modern browser with **WebGL 2.0** support
609
609
 
610
610
  ### 🌐 Play Now
@@ -618,8 +618,8 @@ _"Code is reality made computational. If it doesn't work, nothing else matters."
618
618
  git clone https://github.com/Hack23/blacktrigram.git
619
619
  cd blacktrigram
620
620
 
621
- # Install (requires Node ≥ 25)
622
- npm install
621
+ # Install (requires Node ≥ 26)
622
+ npm ci
623
623
 
624
624
  # Start the dojang
625
625
  npm run dev
@@ -1 +1 @@
1
- {"version":3,"file":"CombatScreen3D.d.ts","sourceRoot":"","sources":["../../../../src/components/screens/combat/CombatScreen3D.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,OAAO,KAMN,MAAM,OAAO,CAAC;AAUf,OAAO,EAAa,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAsB1D,OAAO,EAEL,QAAQ,EAIT,MAAM,gBAAgB,CAAC;AAkFxB;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,CAAC;IACzC;;;;OAIG;IACH,QAAQ,CAAC,cAAc,EAAE,CACvB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,KAC1B,IAAI,CAAC;IACV;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,IAAI,CAAC;IACpC;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EA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B,CAAC,EAAE,OAAO,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAC3C;AAgCD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAq+FxD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1473,7 +1473,7 @@ var CombatScreen3D = ({ players, onPlayerUpdate, currentRound, timeRemaining, is
1473
1473
  enabled: shouldEnableAdaptiveQuality,
1474
1474
  isMobile,
1475
1475
  children: [
1476
- showPerformanceOverlay && !showPerformanceMonitor && /* @__PURE__ */ jsx(PerformanceOverlay3D, {}),
1476
+ showPerformanceOverlay && !isMobile && !showPerformanceMonitor && /* @__PURE__ */ jsx(PerformanceOverlay3D, {}),
1477
1477
  /* @__PURE__ */ jsx(CombatArena3D, {
1478
1478
  lighting: "cyberpunk",
1479
1479
  scale: arenaBounds.scale,
@@ -1756,7 +1756,7 @@ var CombatScreen3D = ({ players, onPlayerUpdate, currentRound, timeRemaining, is
1756
1756
  onReturnToMenu,
1757
1757
  isPaused: isPaused || showPauseMenu
1758
1758
  }),
1759
- !(isMobile && isPortrait) && /* @__PURE__ */ jsx(CombatLeftHUD, {
1759
+ !isMobile && /* @__PURE__ */ jsx(CombatLeftHUD, {
1760
1760
  width,
1761
1761
  height,
1762
1762
  isMobile,
@@ -1766,7 +1766,7 @@ var CombatScreen3D = ({ players, onPlayerUpdate, currentRound, timeRemaining, is
1766
1766
  isInGuard: player1Animation.isInStanceGuard(),
1767
1767
  speedModifiers: player1SpeedModifiers
1768
1768
  }),
1769
- !(isMobile && isPortrait) && /* @__PURE__ */ jsx(CombatRightHUD, {
1769
+ !isMobile && /* @__PURE__ */ jsx(CombatRightHUD, {
1770
1770
  width,
1771
1771
  height,
1772
1772
  isMobile,