htmltools 0.5.0
-
Objects with a
_repr_html_
method can now appear as children ofTag
/TagList
objects. (#74) -
Changed the type annotation of
_add_ws
frombool
toTagAttrValue
. This makes it easier to write functions which callTag
functions and pass along**kwargs
. (#67) -
Changed the type annotation of
collapse_
fromstr
tostr | float | None
. This makes it easier to write calls tocss()
pass along**kwargs
. (#68) -
Enhanced the type definition of
TagAttrs
to includeTagAttrDict
, the type of aTag
'sattrs
property. (#55) -
For
HTMLTextDocument
objects, deduplicate HTML dependencies. (#72) -
Switched from
setup.cfg
andsetup.py
topyproject.toml
. (#73)