Commit graph

96 commits

Author SHA1 Message Date
cfba55d2c6 Add galaxy api 2024-03-05 22:47:11 -06:00
2e0e221010 Made modifier typing a lot less nasty 2024-02-21 01:25:52 +00:00
6ad08c4052 Fix camelCase props not working on links 2023-05-21 17:27:29 -05:00
539282bef8 Improve error handling 2023-05-16 23:49:06 -05:00
81058e10b4 Throw error if lazy proxies get cyclical 2023-04-27 20:41:20 -05:00
632da10aca Make lazy proxies and options funcs pass along base object 2023-04-18 20:56:47 -05:00
d3f5e3bed7 Fix some merge issues 2023-02-15 21:08:10 -06:00
4a28c2f8f9 Remove showIf and make visibility properties take booleans 2023-02-15 20:54:56 -06:00
7f4d57d3e4 Added incredibly dangerous deleteLowerSaves function to window 2023-02-15 20:36:08 -06:00
f5a25b2c2d Fix NaN detection
Also removes the proxy around player and cleaned up types
2023-02-15 20:21:26 -06:00
8c8f7f7904 Fix typos 2023-02-15 20:13:20 -06:00
9b49aedccb Add eslint rule for strict boolean expressions and fix linting issues 2022-12-20 21:33:23 -06:00
b8e498250b Set modVersion 🤦 2022-12-11 23:44:07 -06:00
8e8c71224a Fix total resources increasing on load 2022-12-07 23:01:38 -06:00
4207677944 Fix save data object redundancy
Note: Requires the use of noPersist quite a bit, but the console will tell you when you missed a spot
Also required breaking up events.ts due to cyclical dependencies
2022-12-06 00:22:32 -06:00
7a1e00b2e8 Fixed offline time not being capped 2022-12-03 12:26:12 -06:00
9f38ae6449 Fix typing issue 2022-11-08 10:07:30 -06:00
5bea1bf9b4 Fix isFunction typing 2022-11-07 22:06:16 -06:00
73d6fd7566 Fix a couple type issues 2022-11-07 22:05:37 -06:00
e8ba3f1f88 Add utility type for the values within a readonly array 2022-08-22 08:52:02 -05:00
1729fa8561 Add joinJSX utility function 2022-08-22 08:51:37 -05:00
39c62f3b9c Made trackHover less intrusive 2022-07-27 22:58:59 -05:00
783d5a8a6b Add function to track hovering over a VueFeature 2022-07-26 19:51:39 -05:00
fe865bff9d Add onLoad event 2022-07-21 19:23:50 -05:00
db304dea43 Cleaned up docs 2022-07-10 01:07:39 -05:00
9828e5ec62 Document all the window augmentations 2022-07-09 22:09:25 -05:00
a701168ab1 Fix processed JSXFunctions not being considered coercable components 2022-07-09 19:09:57 -05:00
ff9fa0bf07 Bind uncached functions in processComputable 2022-07-07 20:40:07 -05:00
ab81a140c9 Make all type-only imports explicit 2022-06-26 19:17:22 -05:00
7fe57798bb Switched from vue-cli-service to vite
Should be thoroughly tested still
Also involved removing operator overloads, which weren't good anyways
2022-06-25 22:34:18 -05:00
6411ee4e34 Replace isPlainObject 2022-06-23 11:31:10 -05:00
d650cda84f Using getFirstFeature and Collapsible won't re-render each frame 2022-05-23 22:54:48 -05:00
65e265768b Improved regularFormat on small numbers 2022-05-23 22:54:44 -05:00
868a77af29 Saving is now always lz-string. saveEncoding renamed to exportEncoding.
exportEncoding only affects exports, and defaults to base64 so it's
obfuscated but doesn't have issues with being pasted in discord
2022-05-10 20:58:13 -05:00
9a40249c00 Fixed error when switching between saves with different layers 2022-05-03 01:35:48 -05:00
8f7160c725 Add comments for modifiers 2022-05-01 19:23:43 -05:00
665ddff196 Replaced the two Direction enums with a single one 2022-04-30 23:54:14 -05:00
cfe378020a Added support for reading/loading from different encodings 2022-04-24 16:59:20 -05:00
d988b37e8d Clean up typing 2022-04-23 22:14:47 -05:00
f76d5deb6e Tooltips overhaul 2022-04-23 22:14:45 -05:00
c918f1b54b Add render functions that ensure returned type is always a JSX element 2022-04-23 22:14:29 -05:00
5a59aaf4fc Persistence rework
- Removed makePersistent
- Removed Persistent, renamed PersistentRef to Persistent
- createLazyProxy now takes optional base object
  - For use where previously makePersistent would be used
- Added warnings when creating refs outside a layer
- Added warnings when persistent refs aren't included in their layer object
- createLayer now takes id as a parameter rather than an option
2022-04-10 19:26:33 -05:00
af9b2a8d19 Print key and value in lazy proxy's setter error message 2022-04-01 01:08:22 -05:00
3fa7ccf0c1 Added collapsibles 2022-03-27 19:23:20 -05:00
561dd35570 Added events to onClick 2022-03-27 00:47:34 -05:00
563bf76bee setupHoldToClick calls stop on unmount 2022-03-11 17:01:22 -06:00
e56f34c13c Converted variables that track time to numbers 2022-03-11 15:33:08 -06:00
7524ed3164 Export more types 2022-03-08 19:40:51 -06:00
49474b1518 Changed path aliasing 2022-03-03 21:39:48 -06:00
b9f28f764f allowSmall -> defaultShowSmall, allow it to be overrided 2022-03-02 20:28:11 -06:00