feat: add responsive calc-02 HP48GX demo

This commit is contained in:
2026-05-15 18:45:44 +02:00
parent 95eb1d265f
commit 48a262eb87
7 changed files with 775 additions and 4 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
# State
- Core engine: `src/rpn-calculator.js`
- Active demo: `samples/dev/` (HP48-style UI)
- Active demo: `samples/calc-02/` responsive HP48GX layout driven by portrait/landscape text mockups; display-adjacent button row stays in 4 columns
- Mode button shows the current angle mode only; selecting a mode uses a popup menu
- Public API: `push`, `pop`, `clear`, `swap`, `remove`, `edit`, `isValidIndex`, `input`, `command`, `getOperationsByCategory`, `getConstants`
- Config: `maxSize`, `base`, `angleMode`, `enabledCommands`
- Commands: arithmetic, stack, trigonometry, constants `pi` and `e`