Releases: natemoo-re/ultrahtml
Releases · natemoo-re/ultrahtml
v1.5.3
Patch Changes
- ebc97e0: upgrades
dts-bundle-generator
to 9.2.1
, fixing an issue with .d.ts
generation which led methods prefixed with two underscores to be
incorrectly made private in the generated declaration file.
v1.5.2
Patch Changes
- 244be0a: Update
parsel-js
to latest
v1.5.1
Patch Changes
- a989b5a: Bundle type definitions in
.d.ts
files
v1.5.0
Minor Changes
-
7c93190: Add support for static media queries to ultrahtml/transformers/inline
.
You may now pass an env
value to the transformer, for example:
import { transform } from "ultrahtml";
import inline from "ultrahtml/transformers/inline";
const output = await transform(input, [
// Acts as if the screen is 960px wide and 1280px tall
inline({ env: { width: 960, height: 1280 } })
]);
v1.4.0
Minor Changes
- 8bbaeef: Allow elements inside of
<svg>
to be self-closing for compactness
Patch Changes
- 5715bc3: Fix
sanitize
transformer behavior when only using allowElements
v1.3.0
Minor Changes
Patch Changes
v1.2.0
Minor Changes
- 7792f5d: Add
useObjectSyntax
option to inline transformer. Note that this option is currently not compatible with transform
v1.1.0
Minor Changes
- d910619: Remove
resolveAsset
option from inline
transformer, making it synchronous again.
v1.0.4
Patch Changes
- c5799aa: Update attribute handling to account for attributes with newlines
v1.0.3
Patch Changes
- d7cb17d: Fix another edge case with text inside script/styles