wuira 0.1.8 → 0.1.10

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 (58) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/data/spells/forever.json +224281 -0
  3. package/docs/spells.md +62 -0
  4. package/lib/Spells.d.ts +3 -1
  5. package/lib/Spells.lua +1 -1
  6. package/lib/index.d.ts +4 -2
  7. package/lib/index.lua +7 -3
  8. package/lib/platform/Encoding.d.ts +6 -0
  9. package/lib/platform/Encoding.lua +58 -0
  10. package/lib/platform/forever.d.ts +12 -1
  11. package/lib/spells/BindingActions.d.ts +298 -0
  12. package/lib/spells/BindingActions.lua +3 -0
  13. package/lib/spells/DruidSpells.d.ts +1093 -0
  14. package/lib/spells/DruidSpells.lua +3 -0
  15. package/lib/spells/GeneralSpells.d.ts +941 -0
  16. package/lib/spells/GeneralSpells.lua +3 -0
  17. package/lib/spells/HunterSpells.d.ts +1201 -0
  18. package/lib/spells/HunterSpells.lua +3 -0
  19. package/lib/spells/MageSpells.d.ts +1116 -0
  20. package/lib/spells/MageSpells.lua +3 -0
  21. package/lib/spells/PaladinSpells.d.ts +918 -0
  22. package/lib/spells/PaladinSpells.lua +3 -0
  23. package/lib/spells/PetSpells.d.ts +379 -0
  24. package/lib/spells/PetSpells.lua +3 -0
  25. package/lib/spells/PriestSpells.d.ts +942 -0
  26. package/lib/spells/PriestSpells.lua +3 -0
  27. package/lib/spells/ProfessionSpells.d.ts +5007 -0
  28. package/lib/spells/ProfessionSpells.lua +3 -0
  29. package/lib/spells/RacialSpells.d.ts +83 -0
  30. package/lib/spells/RacialSpells.lua +3 -0
  31. package/lib/spells/RogueSpells.d.ts +745 -0
  32. package/lib/spells/RogueSpells.lua +3 -0
  33. package/lib/spells/ShamanSpells.d.ts +1093 -0
  34. package/lib/spells/ShamanSpells.lua +3 -0
  35. package/lib/spells/WarlockSpells.d.ts +870 -0
  36. package/lib/spells/WarlockSpells.lua +3 -0
  37. package/lib/spells/WarriorSpells.d.ts +764 -0
  38. package/lib/spells/WarriorSpells.lua +3 -0
  39. package/lib/spells/WorldSpells.d.ts +31948 -0
  40. package/lib/spells/WorldSpells.lua +3 -0
  41. package/lib/spells/index.d.ts +17 -0
  42. package/lib/spells/index.lua +3 -0
  43. package/lib/ui/Icon.d.ts +1 -1
  44. package/lib/ui/Label.d.ts +1 -1
  45. package/lib/ui/ScrollHost.d.ts +19 -0
  46. package/lib/ui/ScrollHost.lua +67 -0
  47. package/lib/ui/TextInput.d.ts +26 -0
  48. package/lib/ui/TextInput.lua +206 -0
  49. package/lib/ui/Window.d.ts +2 -0
  50. package/lib/ui/Window.lua +17 -7
  51. package/lib/ui/index.d.ts +2 -0
  52. package/lib/ui/index.lua +8 -0
  53. package/package.json +19 -1
  54. package/tools/build-library.mjs +1 -1
  55. package/tools/generate-spells.mjs +48 -0
  56. package/tools/spell-data.mjs +27 -0
  57. package/tools/update-spells.mjs +92 -0
  58. package/tsconfig.json +2 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,36 @@ with the release date and highlight breaking changes explicitly.
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 0.1.10 — 2026-10-15
11
+
12
+ ### Added
13
+
14
+ - Generated, categorized compile-time spell enums covering all 31,863 IDs in
15
+ Forever client 1.60.1.70374, including racial, pet, profession and world records.
16
+ - Separate native BindingActions command tokens, pinned source provenance and
17
+ offline enum regeneration from a committed client snapshot.
18
+
19
+ ### Fixed
20
+
21
+ - Resolve root Store exports through an explicit index module and apply Node16
22
+ module resolution to the framework's own TypeScript project.
23
+
24
+ ## 0.1.9 — 2026-10-15
25
+
26
+ ### Added
27
+
28
+ - Generic `Encoding.Encode` / `Decode` using native CBOR, compression and Base64,
29
+ with decode size checks. Import formats and schema validation stay in applications.
30
+ - Native `ScrollHost` for clipped, mouse-wheel scrolling inside mounted Cells.
31
+ - Native `TextInput` hosts for copy/paste and text entry inside mounted Cells,
32
+ including focus selection, Escape callbacks and cleanup.
33
+
34
+ ### Fixed
35
+
36
+ - `TextInput` passes the required font flags to Forever's native EditBox API.
37
+ - `Window.Open` retains its current content if a replacement fails to render or
38
+ mount. Header cleanup only stops a drag when the window is actually moving.
39
+
10
40
  ## 0.1.8 — 2026-10-14
11
41
 
12
42
  ### Added