Fabio Pliger
18ffdb9f15
Merge branch 'main' into poc_ui_blocks
2024-05-07 09:47:24 -05:00
Andrea Giammarchi
c49cb9231b
Added listeners to the constructing kw options ( #2044 )
2024-05-03 16:34:21 +02:00
Andrea Giammarchi
1a05ea5fd2
Fix #2031 - Add pyscript.WebSocket to the mix ( #2042 )
...
* Fix #2031 - Add pyscript.WebSocket to the mix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Working on a test case anyone can run
* [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-05-03 11:35:05 +02:00
Andrea Giammarchi
5b4e8527da
Fix #2040 - Polyscript update to provide config dictionary ( #2041 )
...
* Fix #2040 - Polyscript update to provide config dictionary
* [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-05-02 11:47:52 +02:00
Andrea Giammarchi
643b76479f
HTML class in MicroPython ( #2033 )
2024-04-22 12:43:17 +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
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
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
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
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
Andrea Giammarchi
6121d32495
Merge branch 'main' into poc_ui_blocks
2024-02-14 15:51:22 +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
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