Merge branch 'poc_ui_blocks' of github.com:pyscript/pyscript into poc_ui_blocks

This commit is contained in:
Fabio Pliger
2024-02-01 10:16:26 -06:00
12 changed files with 8 additions and 20 deletions

View File

@@ -1,5 +1,4 @@
from pyodide.ffi import to_js
from pyscript import window

View File

@@ -1,8 +1,7 @@
from textwrap import dedent
from pyweb import JSProperty, js_property, pydom
from pyscript import document, when, window
from pyweb import JSProperty, js_property, pydom
# Global attributes that all elements have (this list is a subset of the official one)
# and tries to capture the most used ones

View File

@@ -1,9 +1,8 @@
"""Markdown module to generate web/HTML components from Markdown code"""
from pyscript import document, window
from pyweb import pydom
from pyweb.ui.elements import TextElementBase, script
from pyscript import document, window
class markdown(TextElementBase):
"""Markdown component to render HTML from Markdown code"""

View File

@@ -1,11 +1,10 @@
import string
from textwrap import dedent
from pyscript import document, when, window
from pyweb import JSProperty, js_property, pydom
from pyweb.ui import elements as el
from pyscript import document, when, window
class ShoeBase(pydom.Element):
tag = "div"