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
Andrea Giammarchi
84f197b657
Updated polyscript to its latest ( #1982 )
2024-02-15 17:49:09 +01:00
Andrea Giammarchi
6121d32495
Merge branch 'main' into poc_ui_blocks
2024-02-14 15:51:22 +01:00
Andrea Giammarchi
5bed5ede52
Fix #1974 - Use utf-8 encoding to bootstrap stdlib ( #1981 )
2024-02-14 09:59:18 +01:00
pre-commit-ci[bot]
e0cf825de7
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-12 20:48:36 +00:00
Fabio Pliger
83d17a75ba
lint
2024-02-12 14:47:36 -06:00
Fabio Pliger
f6d5cf06c8
Add text to pydom.Element ( #1911 )
...
* add missing test for html attribute
* add test for text attribute
* fix text attribute test
* [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>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com >
2024-02-12 11:50:36 -08:00
Fabio Pliger
ae3c36b5dd
change default docstring associated with all classes dynamically patched
2024-02-12 12:18:35 -06:00
Fabio Pliger
0f3444e4e8
fix test failing due to different error message from fake server compared to a real test server
2024-02-12 12:18:07 -06:00
Fabio Pliger
1db8163c8e
Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks
2024-02-10 13:19:01 -06:00
Fabio Pliger
4b89ac1011
wrap up adding all major html elements
2024-02-10 13:18:44 -06:00
Fabio Pliger
ff7aba3695
add style and lint
2024-02-09 11:38:10 -06:00
Andrea Giammarchi
30c6c830ae
Fix #1972 - Evaluate users' code a part ( #1975 )
2024-02-09 15:52:29 +01:00
Fabio Pliger
c0bc27b8f7
add figcation, figure and form. Also fix ordering of definitoin of img and input_
2024-02-05 15:50:30 -06:00
Fabio Pliger
8a28934cc8
fix embed attributes and add fieldset
2024-02-05 12:33:18 -06:00
Fabio Pliger
34628f64ee
fix attributes of some of the elements added in the previous commit and add embed
2024-02-05 12:16:15 -06:00
Fabio Pliger
bdb84eb599
add multple HTML elements in alphabetical order from abbr to em
2024-02-05 12:06:19 -06:00