@eightshift/frontend-libs-tailwind
Advanced tools
Changelog
[1.4.5]
BlockInserter
is now only visible when the block it's assigned to is selected. This behavior can be changed by setting alwaysVisible
.Changelog
[1.4.4]
supports
key in block manifests during block registration.Changelog
[1.4.2] - 2024-10-03
combinations
output in tailwindClasses
helper.url()
imports for images not working because of Webpack config.Changelog
[1.4.1] - 2024-10-01
tailwindClasses
check will now work fine even if no parts
are defined.Changelog
[1.4.0] - 2024-09-30
tailwindClasses
function. Replaces getTwPart
, getTwDynamicPart
, and getTwClasses
.
twClassesEditor
is now appended to twClasses
. If you need editor-only classes, you can now use the twClassesEditorOnly
key. Editor-only classes replace twClasses
, but will also have classes from twClassesEditor
.parts
key in manifest now supports specifying multiple parts just with a comma-separated string.@tailwind
rules.Changelog
[1.3.2] - 2024-09-19
Changelog
[1.3.1] - 2024-09-13
getFilteredAttributes
used on SSR components to filter out unwanted attributes and optimize the output.Changelog
[1.3.0] - 2024-08-08
twClasses
and twClassesEditor
can now be passed as an arraytwClasses
/twClassesEditor
changes.