Commit Graph

346 Commits

Author SHA1 Message Date
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
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
Fabio Pliger
6c838ae30d fix demo left menu width 2024-02-02 12:35:47 -06:00
Fabio Pliger
c3876958fb fix div clashing names 2024-02-02 12:30:09 -06:00
Fabio Pliger
410c444ea7 refactor examples to better simplify and automate 2024-02-02 12:26:19 -06:00
Fabio Pliger
c52caef19d fix input name clashing with input keyword 2024-02-02 12:26:02 -06:00
Fabio Pliger
779b367e2c change example creation functions to take the label and the object directly 2024-02-02 12:07:19 -06:00
pre-commit-ci[bot]
6f3f28973e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 17:35:59 +00:00
Fabio Pliger
11a4adaaa0 Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks 2024-02-02 11:35:40 -06:00
Fabio Pliger
e0ee871261 lint 2024-02-02 11:35:36 -06:00
Fabio Pliger
e75625f165 add attributes to all classes in elements 2024-02-02 11:35:21 -06:00
Fabio Pliger
6436df2dfa fix image instantiation on card since the API has changed 2024-02-02 11:35:07 -06:00
pre-commit-ci[bot]
bbe9c23c54 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 15:40:39 +00:00
Fabio Pliger
fe420be776 Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks 2024-02-02 09:38:48 -06:00
Fabio Pliger
7036008e02 lint 2024-02-02 09:36:12 -06:00
Fabio Pliger
05a5fb7ff2 add global JS attributes to elements and improve demos 2024-02-02 09:00:47 -06:00
Fabio Pliger
fb584c3984 add text attribute to pydom Elements 2024-02-02 08:58:55 -06:00