@idosgames/module-sdk 0.8.2 → 0.9.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/index.d.cts CHANGED
@@ -742,8 +742,16 @@ interface EngineScene {
742
742
  /** Permanent teardown — dispose GPU resources, remove listeners. */
743
743
  destroy(): void;
744
744
  }
745
- /** Named region of the host layout a panel renders into. */
746
- type PanelSlot = "hud" | "sidebar" | "overlay" | "modal";
745
+ /**
746
+ * Named region of the host layout a panel renders into.
747
+ *
748
+ * `header` / `footer` are the app's FRAME — a strip across the top / bottom of the screen that the
749
+ * whole app sits between: the scene's canvas, every other slot and `--idos-safe-*` are laid out in
750
+ * the space left over, so a game needs to know nothing about it. The base uses them to keep the
751
+ * lobby's balances and tabs around a game ("the game inside the lobby"). A frame panel that renders
752
+ * nothing takes no room.
753
+ */
754
+ type PanelSlot = "hud" | "sidebar" | "overlay" | "modal" | "header" | "footer";
747
755
  interface UiPanel {
748
756
  /** Unique within the module. */
749
757
  id: string;
package/dist/index.d.ts CHANGED
@@ -742,8 +742,16 @@ interface EngineScene {
742
742
  /** Permanent teardown — dispose GPU resources, remove listeners. */
743
743
  destroy(): void;
744
744
  }
745
- /** Named region of the host layout a panel renders into. */
746
- type PanelSlot = "hud" | "sidebar" | "overlay" | "modal";
745
+ /**
746
+ * Named region of the host layout a panel renders into.
747
+ *
748
+ * `header` / `footer` are the app's FRAME — a strip across the top / bottom of the screen that the
749
+ * whole app sits between: the scene's canvas, every other slot and `--idos-safe-*` are laid out in
750
+ * the space left over, so a game needs to know nothing about it. The base uses them to keep the
751
+ * lobby's balances and tabs around a game ("the game inside the lobby"). A frame panel that renders
752
+ * nothing takes no room.
753
+ */
754
+ type PanelSlot = "hud" | "sidebar" | "overlay" | "modal" | "header" | "footer";
747
755
  interface UiPanel {
748
756
  /** Unique within the module. */
749
757
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idosgames/module-sdk",
3
- "version": "0.8.2",
3
+ "version": "0.9.0",
4
4
  "description": "The composable-module contract for the iDosGames host shell: Module / ModuleContext types plus tiny authoring helpers. Framework-neutral at runtime — a module can be a game (Three/Phaser), a plain app, or an AI app.",
5
5
  "type": "module",
6
6
  "license": "MIT",