Commit Graph

1302 Commits

Author SHA1 Message Date
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.2.1 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
bd68966902 Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks 2024-02-12 14:48:12 -06: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
pre-commit-ci[bot]
b467bfe01e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-12 18:25:54 +00: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
Shubhal Gupta
d7084f7f55 Fix: Restored the development docs #1783 (#1803)
* Fix: Restored the development docs #1783

* [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-07 11:17:50 +01:00
pre-commit-ci[bot]
a87d2b3fea [pre-commit.ci] pre-commit autoupdate (#1917)
updates:
- [github.com/psf/black: 23.11.0 → 24.1.1](https://github.com/psf/black/compare/23.11.0...24.1.1)
- [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2)

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-07 11:13:05 +01:00
Fábio Rosado
81a26363a3 Update bug template to point users to pyscript.com issue tracker (#1971)
* Update bug template to point users to pyscript.com issue tracker

* add bold to make it more visible
2024-02-06 14:23:12 +00: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
pre-commit-ci[bot]
d5d37fb260 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 22:07:17 +00:00
Fabio Pliger
635ede9edf lint 2024-02-02 16:07:05 -06:00
Fabio Pliger
39647d783c Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks 2024-02-02 16:06:38 -06:00
Fabio Pliger
2c59717214 fixed issues with renaming Grid to grid, after we merged 2024-02-02 16:06:26 -06:00
pre-commit-ci[bot]
1db1e4335b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 21:59:33 +00:00
Fabio Pliger
4ee0540dd1 fix post merge issues 2024-02-02 15:59:15 -06:00
Fábio Rosado
9033a09099 Small tweaks to main demo page (#1962)
* Small tweaks to main demo page

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [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: Fabio Pliger <fpliger@users.noreply.github.com>
2024-02-02 13:40:25 -08:00
Askat
0791890d0d Add radio group (#1963)
* add radio group

* [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: Fabio Pliger <fpliger@users.noreply.github.com>
2024-02-02 13:40:10 -08:00
Fábio Rosado
d101d7d755 Add a bunch more elements (#1966)
* Add copy button

* Add skeleton and spinner

* Add Switch

* Add text area

* Add more elements

* More styling to each component

* [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: Fabio Pliger <fpliger@users.noreply.github.com>
2024-02-02 13:21:42 -08:00
pre-commit-ci[bot]
aac21e48ca [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 21:17:07 +00:00
Fabio Pliger
7178616549 link and fix spelling typo 2024-02-02 15:16:46 -06:00
Fabio Pliger
fd9ebc92bb Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks 2024-02-02 15:16:09 -06:00
Fabio Pliger
3de622f44b improve demo 2024-02-02 15:15:07 -06:00
Fabio Pliger
844e3767d1 fix issue related to now importing div from pyweb.ui 2024-02-02 14:57:26 -06:00
Fabio Pliger
0a655f6b6a reorg classes order in elements.py and add missing elements to examples 2024-02-02 14:55:52 -06:00
pre-commit-ci[bot]
21c206a758 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 18:59:27 +00:00
Fabio Pliger
70b97d8ec4 Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks 2024-02-02 12:59:07 -06:00
Fabio Pliger
3bf4a850d6 rename Grid to grid to align to other elements 2024-02-02 12:58:33 -06:00
Fabio Pliger
cf987b1ce9 simplify base elements demo by moving all the examples to the examples module 2024-02-02 12:41:57 -06:00