@energy8platform/platform-core 0.26.1 → 0.27.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.cjs.js +316 -249
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +316 -249
- package/dist/index.esm.js.map +1 -1
- package/dist/shell.cjs.js +317 -249
- package/dist/shell.cjs.js.map +1 -1
- package/dist/shell.d.ts +3 -0
- package/dist/shell.esm.js +317 -249
- package/dist/shell.esm.js.map +1 -1
- package/package.json +3 -3
- package/scripts/build-digit-font.mjs +72 -0
- package/src/shell/GameShell.ts +44 -25
- package/src/shell/components/BottomBar.ts +47 -29
- package/src/shell/components/icons.svg +139 -0
- package/src/shell/components/icons.ts +9 -4
- package/src/shell/fonts-digits.ts +12 -0
- package/src/shell/i18n.ts +8 -48
- package/src/shell/shell.css.ts +105 -55
- package/src/shell/theme.ts +5 -0
- package/src/shell/version.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -894,6 +894,9 @@ declare class GameShell extends EventEmitter<ShellEvents> {
|
|
|
894
894
|
* centred and scaled down to fit — keeping the controls as large as possible.
|
|
895
895
|
*/
|
|
896
896
|
private applyFitScale;
|
|
897
|
+
/** Keep the BET box a fixed width (so the steppers/divider/SPIN never shift as the stake changes)
|
|
898
|
+
* by shrinking just the number when it would overflow the box — e.g. amounts above ~€100,000. */
|
|
899
|
+
private fitBet;
|
|
897
900
|
/** Pull window focus into the iframe on first pointer interaction so `document` keydown (the
|
|
898
901
|
* spacebar shortcut) fires. No-op / harmless when already focused or full-page. */
|
|
899
902
|
private pullFocus;
|