- Deploy to maven central
- Update to Kotlin 1.6.10
styleBuilder
is renamed toinsertStyleBuilder
.
HtmlWriter
has been trimmed down to just the write methods, and it's name has been changed toHtmlOutput
.HtmlWriter
, is instead used for something else.- Added the ability for
HtmlWriter
s to split into named sub-writers. - Added a new artifact - Style Builder. Style Builder can be used to write to a single stylesheet in the
head
of your document from anywhere in your document. It can also be used to write to various media queries with a much nicer syntax than CSS provides. - Contexts were all moved to the
dev.scottpierce.html.writer
package. FileContext
was removed, and thedocType
was added as a parameter to thehtml
functions.
- Complete overhaul fo the style system, with a switch from properties to functions for styles.
- Several css properties have had their type safety dramatically improved.
Context
renamed toHtmlWriterContext
link
andscript
moved toBaseHtmlContext
- Package changed from
dev.scottpierce.html
todev.scottpierce.html.writer
- Remove style read API and turn it into a pure streaming API.
- Make all
Context
s,inline class
es. - Change
Dimension
from a readable object to aninline class
.