1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00
Commit Graph

67 Commits

Author SHA1 Message Date
Fabio Pliger
4259e085cb bring play icon above repl line 2022-04-29 15:44:58 -06:00
Princiya Sequeira
bed165fb10 play icon in pyrepl vertically centered w.r.to the last line 2022-04-29 20:30:15 +02:00
Fabio Pliger
4e667642ca fixed some minor things related to examples while testing 2022-04-28 16:18:18 -06:00
Fabio Pliger
788af88422 fix enviroment promise loading bug on pyenv 2022-04-28 15:59:35 -06:00
Fabio Pliger
99c79acc78 clean pyscript.ts 2022-04-28 14:09:44 -06:00
Fabio Pliger
ec38f9c151 more cleaning 2022-04-28 14:00:31 -06:00
Fabio Pliger
cb61908e83 remove old code and bypass some warning 2022-04-28 12:02:35 -06:00
Princiya Sequeira
8b7c397c2a nit fixes 2022-04-28 18:47:39 +02:00
Princiya Sequeira
9f954850a4 play button moved to bottom, lint errors fixed 2022-04-28 00:30:06 +02:00
Princiya Sequeira
971b6903fa fixed linting errors 2022-04-28 00:19:22 +02:00
Princiya Sequeira
0fbf06440f fixed linting errors 2022-04-28 00:17:30 +02:00
Princiya Sequeira
091d109da2 updated styles for repl2, styled the play button 2022-04-27 23:56:10 +02:00
Princiya Sequeira
0ac2d4d339 resolved merge conflicts, fixed linting issues 2022-04-27 12:58:07 +02:00
Princiya Sequeira
2f7d948074 added error class to the errorElement in base.ts 2022-04-27 11:28:15 +02:00
Princiya Sequeira
0d3d64eab9 updated css for the codemirror cm-editor 2022-04-27 11:26:10 +02:00
Ross Bermudez
27deee3f86 [PYS-12] Format and lint 2022-04-25 15:00:14 +02:00
Fabio Pliger
45d68f5701 move check id out of constructor 2022-04-22 12:55:06 -05:00
Fabio Pliger
1be8aa3a28 move guidGenerator to utils to make it more available 2022-04-22 12:03:04 -05:00
Fabio Pliger
9d0837abec remove unecessary check for id since the base class is making sure that it always has an ID 2022-04-22 11:55:18 -05:00
Philipp Rudiger
190ae39690 Auto-generate element ID to ensure output is rendered 2022-04-21 20:40:24 +02:00
Fabio Pliger
7884127534 remove debug print 2022-04-21 12:27:17 -05:00
Fabio Pliger
cad87e6616 fix pyscript output when nothing is specified 2022-04-21 12:25:09 -05:00
Fabio Pliger
4065c13d32 general cleanup before merging 2022-04-20 20:27:13 -05:00
Fabio Pliger
71873b6b50 clean pylist.py and add a very hacky sync between list items and it's rendered versions 2022-04-20 20:03:23 -05:00
Fabio Pliger
7c71ba6fde add margin to widgets and add item template to PyList 2022-04-20 18:17:58 -05:00
Fabio Pliger
019b7d145a add timer to register generic widgets 2022-04-20 18:16:26 -05:00
Fabio Pliger
ac64b2aaa3 add handlers to input box as well 2022-04-20 16:32:11 -05:00
Fabio Pliger
44afda7aa8 add inputbox and clearn todo html even more 2022-04-20 16:12:01 -05:00
Fabio Pliger
3aa3ba02be add pybutton and pytitle 2022-04-20 15:41:51 -05:00
Fabio Pliger
f5b168a45e add better support for new widgets 2022-04-20 15:41:28 -05:00
Fabio Pliger
a6d00318c3 add PyListTemplate and PyItemTemplate so that classes implementing list and list item widgets can subclass from it and hide complexity to users 2022-04-20 12:48:25 -05:00
Fabio Pliger
a702cbdf10 add support for custom widgets registration in Python 2022-04-19 19:24:22 -05:00
Fabio Pliger
9e47644238 clean up repl class attrs 2022-04-19 10:58:20 -05:00
Fabio Pliger
3c2ca6d68c fix error when trying to output to non existing element 2022-04-18 23:10:41 -05:00
Fabio Pliger
a6955b170a Merge branch 'main' into pys-19/allow_out_err_redirect 2022-04-18 22:21:47 -05:00
Fabio Pliger
b38d2e5df1 add support for std-out and std-err attributes in py-repl and py-script 2022-04-18 21:55:29 -05:00
Fabio Pliger
57d6ae967b add x margin to pybox children 2022-04-18 21:55:03 -05:00
Fabio Pliger
4ba90a9250 rename target attribute to output 2022-04-18 18:56:49 -05:00
Fabio Pliger
00b571d3df change OutputManager to actually have separate contexts for out and err to scripts can manage both in one place 2022-04-18 15:54:59 -05:00
Fabio Pliger
4d890602d9 adapt pyscript to new base class and clean Base 2022-04-18 12:06:30 -05:00
Fabio Pliger
95d50269b7 add base component file with components base classe and adapt pyrepl to new base class 2022-04-18 10:13:59 -05:00
Mateusz Paprocki
0dc3b728c3 Allow import d3 instead of from esm import d3 2022-04-16 10:38:02 +02:00
Fabio Pliger
ef884689ba Merge branch 'main' into mattpap/allow_pyscript_block_offset 2022-04-15 18:46:42 -05:00
Fabio Pliger
fb54949eb6 Merge branch 'main' into pys-19/allow_out_err_redirect 2022-04-15 18:43:19 -05:00
Fabio Pliger
441a2c6e9e introduce outputmanager to redirect output in repl 2022-04-15 18:42:16 -05:00
Mateusz Paprocki
d0f0ebc6c3 Very rudimentary support for ESM and import maps 2022-04-15 14:28:51 +02:00
Mateusz Paprocki
c93a98a15f Allow to indent <py-script> blocks 2022-04-14 10:23:03 +02:00
Mateusz Paprocki
dece4734ba Don't fail on an empty <py-env></py-env> 2022-04-14 08:42:01 +02:00
Fabio Pliger
365486477e add focus when repl is rendered 2022-04-13 19:38:26 -05:00
Fabio Pliger
2d32bb5f13 Merge branch 'main' into css 2022-04-13 15:03:58 -05:00