Andrea Giammarchi
65954a627e
Allow MicroPython input("...") to work beside the code.interact() ( #2017 )
2024-04-04 18:13:00 +02:00
Andrea Giammarchi
2f1b764251
Provide input("") and sync output to MicroPython ( #2016 )
...
Provide input("") and sync output to MicroPython
2024-04-04 17:34:12 +02:00
Andrea Giammarchi
1fb6cddd70
Forgot to update current npm version ( #2015 )
2024-04-04 15:53:52 +02:00
Andrea Giammarchi
239add4e20
Better MicroPython Terminal ( #2014 )
...
* Better MicroPython Terminal + fixed Pyodide astty value
2024-04-04 15:33:41 +02:00
pre-commit-ci[bot]
d7ac58d18d
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-03 22:57:01 +00:00
Fabio Pliger
80529cae71
lint
2024-04-03 17:56:43 -05:00
Fabio Pliger
106a78b635
Merge branch 'main' into poc_ui_blocks
2024-04-03 17:56:13 -05:00
pre-commit-ci[bot]
abe706b9e9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-03 22:53:13 +00:00
Andrea Giammarchi
4e4ac56729
Fix #1998 - Allow lazy terminal bootstrap + MicroPython terminal
...
* Fix #1998 - Allow lazy PyTerminal bootstrap
* Fix #1998 - Allow lazy terminal bootstrap / runtime
* Implemented mpy terminal in both main and worker
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-03 15:50:20 +02:00
Andrea Giammarchi
1447cb3094
Fix #1997 - Bring pyscript stdlib to the PyEditor ( #2010 )
...
* Fix #1997 - Bring pyscript stdlib to the PyEditor
2024-03-28 10:43:26 +01:00
Fabio Pliger
f6a634ce6e
precommit again
2024-03-26 17:18:14 -05:00
Fabio Pliger
152ad6cf4a
Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks
2024-03-26 17:11:43 -05:00
Fabio Pliger
307eb738d5
precommit
2024-03-26 17:10:30 -05:00
pre-commit-ci[bot]
27363f4c59
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-03-26 22:09:31 +00:00
Fabio Pliger
b73b30b2d8
remove js_property and fix references
2024-03-26 17:08:25 -05:00
Fabio Pliger
0eadcc10e9
fix bug around Element not being able to map global attributes in subclasses
2024-03-26 17:08:10 -05:00
Fabio Pliger
4cc30925ec
Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks
2024-03-26 16:27:13 -05:00
Fabio Pliger
8d955ad183
remove js_property and just use JSProperty with name and allow_nones as arguments
2024-03-26 16:25:35 -05:00
pre-commit-ci[bot]
1c315f8318
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-03-26 21:02:03 +00:00
Fabio Pliger
da3db5141e
fixed merge conflicts
2024-03-26 16:01:48 -05:00
Fabio Pliger
ef43e1f6b2
Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks
2024-03-26 16:01:20 -05:00
pre-commit-ci[bot]
5d22ec1fb0
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-03-26 20:59:40 +00:00
Fabio Pliger
111616a780
replace JSProperty with js_property
2024-03-26 15:59:34 -05:00
Fabio Pliger
ee9403971f
replace JSProperty with js_property
2024-03-26 15:59:18 -05:00
Fabio Pliger
35e7273b69
remove _add_js_properties
2024-03-26 15:40:33 -05:00
Fabio Pliger
2bb751a638
finish moving all properties manually on each class
2024-03-26 15:38:52 -05:00
Fabio Pliger
012e6591d4
replace all the calls to _add_js_properties with defining attributes directly in the classes
2024-03-26 15:34:25 -05:00
Fabio Pliger
7f26724235
move global attributes to base class
2024-03-26 15:03:32 -05:00
Fabio Pliger
ff7e2effe5
Merge branch 'main' into poc_ui_blocks
2024-03-26 14:58:17 -05:00
Andrea Giammarchi
910c666319
pyscript.ffi - expose most essential utilities ( #2005 )
...
pyscript.ffi - expose most essential utilities
2024-03-22 17:41:06 +01:00
Andrea Giammarchi
eee2f64c1d
Update Polyscript with its latest untar.gz and unzip abilities ( #2004 )
2024-03-22 10:42:01 +01:00
Andrea Giammarchi
d080246a0f
Update MicroPython to its latest ( #2003 )
2024-03-21 11:47:47 +01:00
Andrea Giammarchi
98c0f5e50d
Fix #2000 - Allow advanced users to deal themselves with responses ( #2001 )
...
* Fix #2000 - Allow advanced users to deal themselves with responses
* rolled back the direct utility idea
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated to latest MicroPython and latest way to have direct access with fetch
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-20 16:40:24 +01:00
Andrea Giammarchi
a1268f1aa2
Fix #1993 - Expose a handy fetch API ( #1994 )
2024-03-14 19:36:23 +01:00
Andrea Giammarchi
df1d699fe6
[feature] py-editor setup ( #1989 )
2024-03-13 12:25:30 +01:00
Fabio Pliger
15896cd12c
fix issue with example code not showing created button
2024-03-04 11:56:40 -06:00
Fabio Pliger
b9cfe74aa2
adapt shoelace to latest upates in ui.elements
2024-02-29 14:14:55 -06:00
pre-commit-ci[bot]
43c085d56f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-28 22:18:27 +00:00
Fabio Pliger
34552ae62d
minor fixes and complete tests for all elements
2024-02-28 16:17:38 -06:00
Fabio Pliger
a4272c7643
fix another typo on figcaption
2024-02-27 17:08:45 -06:00
Fabio Pliger
7e0689424f
fix canvas and caption as elements that have content and fix name typo on figcaption
2024-02-27 17:07:45 -06:00
Fabio Pliger
f5f01f6929
add test for more elements up to caption
2024-02-27 14:22:38 -06:00
Fabio Pliger
d1038cb83d
Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks
2024-02-27 12:37:44 -06:00
Fabio Pliger
97fdfaeeb6
change test helper function to be more flexible on attributes and manage content vs non content based elements. Also adds area tests
2024-02-27 12:36:09 -06:00
Fabio Pliger
51dc0909ac
add address test and improve error messaging when ElementBase gets a bad input as style
2024-02-27 11:41:10 -06:00
Fabio Pliger
6dccf08834
fix abbr to inherit from TextElementBase
2024-02-27 11:06:09 -06:00
Fabio Pliger
c518e7978f
add global attributes and change abbr test
2024-02-27 11:01:19 -06:00
pre-commit-ci[bot]
98413cfb69
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-27 16:44:27 +00:00
Fabio Pliger
850f8c6651
lint
2024-02-27 10:42:25 -06:00
Fabio Pliger
3654160b65
add pyweb tests
2024-02-27 10:41:13 -06:00