Bump tailwindcss from 1.4.6 to 1.5.1
Created by: dependabot[bot]
Bumps tailwindcss from 1.4.6 to 1.5.1.
Release notes
Sourced from tailwindcss's releases.
v1.5.1
- Fixes accidental breaking change where adding component variants using the old manual syntax (as recommended in the docs) stopped working
v1.5.0
Tailwind CSS v1.5.0
I was hoping to save v1.5.0 for something really exciting (
🌘 ) but we needed a new feature to support the new @tailwindcss/typography plugin so h*ck it, we're dropping some new stuff on you early. Enjoy! 🥳No breaking changes, this is a minor release and we are professionals you silly goose.
New Features
- Component
variants
support- Responsive
container
variants- New
focus-visible
variant- New
checked
variantComponent
variants
support (#2031)Until Tailwind CSS v1.5.0, only "utility" classes were really intended to be used with
variants
(like "responsive", "hover", "focus", etc.)While these are still much more useful for utilities than any other type of class, we now support generating variants for component classes as well, like the
prose
classes in the new@tailwindcss/typography
plugin:<article class="prose md:prose-lg"> <!-- Content --> </article>
You can take advantage of this feature in your own component classes by using the new
variants
option in the second argumant of theaddComponents
plugin API:plugin(function ({ addComponents })) { addComponents({ '.card': { // ... } }, { variants: ['responsive'] }) })
...or using the array shorthand you might be familiar with from the
addUtilities
API:plugin(function ({ addComponents })) { addComponents({ </tr></table> ... (truncated)
Commits
-
da070bd
1.5.1 -
63fad18
Merge pull request #2035 from tailwindcss/support-nested-variant-rules -
79c3f03
Remove stale test -
7dc0261
Only wrap with variants if rules don't already contain any variants -
3f6d31e
Add failing test -
c8d87f8
1.5.0 -
50de485
Merge pull request #2032 from tailwindcss/container-variants -
f16919e
Generate responsive variants for container by default -
b932772
Add variants support to container plugin -
9310efb
Merge pull request #2031 from tailwindcss/simple-component-variants - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)