This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @maizzle/framework (source) | 4.0.2
-> 4.3.0
| | | | |
| autoprefixer | 10.4.8
-> 10.4.13
| | | | |
| tailwindcss-mso | 1.2.0
-> 1.3.0
| | | | |
Release Notes
maizzle/framework
Compare Source
Added
Fixed
- fix: ensure
styleToAttribute
is enabled ea2ea39
- fix: using lowercase tag names for width/height attributes
af9b6dc
- fix: use
inlineCss
options from config 876ce9a
- fix: lowercase tag names in
keepOnlyAttributeSizes
0c6d9e9
- fix: run
removeUnusedCSS
only if enabled 33b07b2
Compare Source
Fixed
- fixed an issue where you couldn't use classes containing commas, such as
bg-[rgba(0,0,0,0.75)]
, because safeClassNames
wasn't handling them properly 2f57d42
Changed
- added a
files
key to package.json, to define the files that should be included in the package 4a8beb7
- moved from dependabot to depfu
4ce5ec5
Compare Source
Fixed
- fix: ensure
replaceStrings
transformer runs last (#804, 4b401d1
)
Compare Source
Changed
- refactor: add default replacements for
safeClassNames
(#797, 3815cd1
)
- refactor: add backend delimiters defaults to
removeUnusedCSS
(#797, 538a93d
)
- refactor:
removeAttributes
transformer 344b2b2
- build(deps): remove posthtml-remove-attributes dependency
1eb77b0
- refactor: use default posthtml options
27d54ff
- refactor: use
string-strip-html
library for preventing widow words a5aef6c
Fixed
- fix: ensure
href
values in not-plaintext
tags are removed (#780, 1ef8e8e
)
- fix: remove empty
<style>
tags aae4813
- fix: normalize content source paths (
e4b5da2
, b1beedf
)
- fix: respect
config.js
root paths in tailwindcss content sources 5d6fc16
- fix: handle undefined
node.attrs
in prevent widows transformer 4035533
- fix: prevent some transformers from adding
=""
to valueless attributes (4824329
, 6f5a149
, 1eec925
, a8a1299
)
Compare Source
Fixed
Compare Source
Fixed
- make file config for Maizzle optional
28d42c3
- don't require
build.tailwind.css
in postcss
filter 923f24b
- use
postcss-import
only if the build.tailwind.css
file exists fb28b23
- don't require
_options
for urlParameters
transformer 19ffe0c
- fixed an issue where the
build.tailwind.compiled
path was not being used if defined d141425
- pass posthtml options to transformers
c98ac58
- pass expressions options to components
558d4cd
Changed
- ci: run tests in parallel
4e25bed
- changed the tailwindcss compilation error to throw a
SyntaxError
instead of console.error
ing a plain Error
4a9d6ec
Compare Source
Added
Added a <not-plaintext>
tag that you can use to discard content from a plaintext version while still keeping it in the HTML.
<div>Show everywhere</div>
<plaintext>Show in plaintext</plaintext>
<not-plaintext>
<p>Show only in HTML</p>
</not-plaintext>
Plaintext:
Show everywhere
Show in plaintext
HTML:
<div>Show everywhere</div>
<p>Show only in HTML</p>
Fixed
Fixed an issue where plaintext: true
in a template's Front Matter was not generating the plaintext file (#707, 254490e
)
Compare Source
This release adds a fix for compatibility with plugins such as @tailwindcss/typography
that use advanced regex patterns that might cause the CSS cleanup function to break.
Changed
- fix: skip match helper error
d5de926
Compare Source
This release fixes an issue with CSS cleanup, where some properties were being wrongfully removed (#728)
Changed
- fix: preserve media and pseudos when removing inlined css
99c1aee
- fix: check for prop existence when removing rule
ee649d3
Compare Source
New features
CSS selectors urlParameters
tags
As requested in #749, you may now use CSS selectors to select only certain tags or attributes to apply URL parameters to:
module.exports = {
urlParameters: {
_options: {
tags: ['a.button', 'a[href*="example.com"]', 'link'],
},
utm_source: 'maizzle',
}
}
This way you can apply parameters only to specific URLs, or only to URLs on certain <a>
tags, for example.
Simplified baseURL
tags list
It's now easier to apply a baseURL
to just a few tags, by simply passing in the tags list in array format:
module.exports = {
baseURL: {
url: 'https://cdn.example.com/',
tags: ['img'],
},
}
That will apply the url
to all known source attributes on all <img>
elements in your HTML, like src=""
or srcset="
.
Support for @font-face
in baseURL
The baseURL
transformer now prepends URLs to url()
sources in @font-face
declarations.
build.current.path
The config now contains build.current.path
, an object containing a parsed path of the currently being processed template file:
module.exports = {
build: {
current: {
path: {
root: '',
dir: 'build_production',
base: 'transactional.html',
ext: '.html',
name: 'transactional'
}
}
}
}
strict
option for urlParameters
By default, the urlParameters
transformer will append query parameters only to valid URLs.
You may disable strict mode to append parameters to any string:
module.exports = {
urlParameters: {
_options: {
strict: false,
},
foo: 'bar'
}
}
Input:
<a href="example.com">test</a>
Result:
<a href="example.com?foo=bar">test</a>
Compare Source
Changed
- fix: don't watch tailwind config if object
ec16e2f
- updated dependencies
postcss/autoprefixer
Compare Source
- Fixed missed prefixes on vendor prefixes in name of CSS Custom Property.
Compare Source
- Fixed support of unit-less zero angle in backgrounds (by 一丝).
Compare Source
- Fixed
text-decoration
prefixes by moving to MDN data (by Romain Menke).
Compare Source
- Fixed
unicode-bidi
prefixes by moving to MDN data.
Compare Source
- Fixed
css-unicode-bidi
issue from latest Can I Use.
maizzle/tailwindcss-mso
Compare Source
Added
- Support for arbitrary values
respectImportant
plugin option (by default, the plugin does not respect the important
key in your Tailwind config)
- New utilities
mso-font-alt
(uses values in your config's fontFamily
)
mso-arabic-font-family
mso-para-margin
, mso-para-margin-top
, mso-para-margin-right
, mso-para-margin-bottom
, mso-para-margin-left
mso-element-top
mso-element-frame-height
mso-shading
mso-element-wrap
mso-element-frame-vspace
, mso-element-frame-hspace
Changed
- replaced
ava
with jest
for tests
Fixed
- fixed generation of negative value utilities
Configuration
📅 Schedule: Branch creation - "before 6am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
dependencies