34 Commits

Author SHA1 Message Date
Felix Roos
ec4cfe6f86 use new getTime callback in repl + mini repl 2022-08-23 21:23:28 +02:00
Felix Roos
7b0c80c8be getTime callback for highlighting time 2022-08-23 21:23:01 +02:00
Felix Roos
29029714ee expose pattern form useStrudel 2022-08-23 21:22:28 +02:00
Felix Roos
11a9f3ced3 no top level await + no evaluate on mount 2022-08-23 18:04:35 +02:00
Felix Roos
e37e0f189a build react package 2022-08-21 11:22:30 +02:00
Felix Roos
9497c99e9e merge evaluator and scheduler hooks + use getTime 2022-08-21 11:21:19 +02:00
Felix Roos
a7562c3803 add useKeydown helper 2022-08-18 16:15:44 +02:00
Felix Roos
04502b05d4 better default tune + fix dirty state 2022-08-18 15:16:29 +02:00
Felix Roos
e3e3a8404a nano-repl add modules + proper eval 2022-08-18 00:27:16 +02:00
Felix Roos
d667e790b9 export new hooks 2022-08-17 23:58:34 +02:00
Felix Roos
bc345b569b add hooks for scheduler and evaluator 2022-08-17 23:57:49 +02:00
Felix Roos
4e09cc14b6 fix #178 2022-08-14 11:27:13 +02:00
Felix Roos
f34d0a29e8 memo all things codemirror 2022-08-13 18:39:38 +02:00
Felix Roos
55b2d7f68f add onSelectionChange callback 2022-08-05 23:50:42 +02:00
Felix Roos
67c21c18cf set background to 222 + remove log 2022-08-05 23:23:51 +02:00
Felix Roos
93251582ab replace react-codemirror 2022-08-05 23:05:33 +02:00
Felix Roos
800f2f466b darken repl background
+ dont highlight active line
2022-08-02 23:39:07 +02:00
Felix Roos
884811fd99 darken mini repl bg 2022-07-29 00:19:06 +02:00
Felix Roos
913416a9d5 style fixes + hide-console option
- thicker highlighting outline
- only shade actual characters, not whole lines
- strudel hide-console will now hide console
2022-07-29 00:00:41 +02:00
Felix Roos
ce4d2c17a7 minirepl optimizations:
- can now evaluate on init
- support disable-highlighting
- support keyboard shortcuts
- support flash
2022-07-28 23:55:05 +02:00
Felix Roos
b9829bb696 flash effect on ctrl enter 2022-06-24 21:13:17 +02:00
Felix Roos
cac5d96c16 remove cycle + delta from onTrigger 2022-06-16 20:38:21 +02:00
Felix Roos
e86144255c Merge remote-tracking branch 'origin/HEAD' into webdirt 2022-06-02 00:19:10 +02:00
Felix Roos
307afa5c52 fix: #108 2022-06-01 18:19:57 +02:00
Felix Roos
92dc50e348 minor style tweaks 2022-05-30 23:34:56 +02:00
Felix Roos
7eeae4292c add missing styles + fix demo 2022-05-20 00:08:50 +02:00
Felix Roos
ae81f6d573 MiniRepl: hideOutsideView flag 2022-05-19 08:39:51 +02:00
Felix Roos
bbf0565007 delete react logo 2022-05-18 00:23:49 +02:00
Felix Roos
ed35f967b0 migrate repl + move imports out of minirepl 2022-05-17 22:27:22 +02:00
Felix Roos
0bcc01ed0e add missing deps 2022-05-17 21:55:37 +02:00
Felix Roos
b8a0559012 react packaging 2022-05-17 21:40:17 +02:00
Felix Roos
b59f36f40b basic react package build config 2022-05-17 00:32:57 +02:00
Felix Roos
999251e137 Merge remote-tracking branch 'origin/main' into repl-package 2022-05-15 22:55:31 +02:00
Felix Roos
0d63ec9146 basic react package 2022-05-14 20:27:05 +02:00