From 725373d88e98b263b67f844b06adf1f2e587c703 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 11 Sep 2023 03:59:58 +0000 Subject: [PATCH] [ci] release --- .changeset/beige-boats-float.md | 17 ----------------- CHANGELOG.md | 18 ++++++++++++++++++ package.json | 2 +- 3 files changed, 19 insertions(+), 18 deletions(-) delete mode 100644 .changeset/beige-boats-float.md diff --git a/.changeset/beige-boats-float.md b/.changeset/beige-boats-float.md deleted file mode 100644 index 8cdbfb1..0000000 --- a/.changeset/beige-boats-float.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"ultrahtml": minor ---- - -Add support for static media queries to `ultrahtml/transformers/inline`. - -You may now pass an `env` value to the transformer, for example: - -```js -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 } }), -]); -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 91ffc59..ff3686e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # ultrahtml +## 1.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: + + ```js + 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 } }) + ]); + ``` + ## 1.4.0 ### Minor Changes diff --git a/package.json b/package.json index 43d65ab..eda627f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ultrahtml", "type": "module", - "version": "1.4.0", + "version": "1.5.0", "types": "./dist/index.d.ts", "main": "./dist/index.js", "repository": {