Releases: muhammadsammy/tailwindcss-classnames
Releases · muhammadsammy/tailwindcss-classnames
3.2.0
tailwindcss-classnames v3.1.0
Features
- add
backdrop,enabledandoptionalvariants (a1c57e5) - add
contrast-moreandcontrast-lessvariants (8720a8b) - add
grid-flow-denseutility (f70f2eb) - add
mix-blend-plus-lighterutility (edcfdca) - add new
border-spacingutilities (4ab9a62) - add
text-startandtext-endutilities (f6955a0) - support customizing class name when using darkMode: 'class' (fixes #398) (853e7d3)
Bug Fixes
- rename colors import in updateDefaultConfig script (7de09c6)
tailwindcss-classnames v3.0.7
tailwindcss-classnames v3.0.6
tailwindcss-classnames v3.0.5
tailwindcss-classnames v3.0.4
tailwindcss-classnames v3.0.3
tailwindcss-classnames v3.0.2
tailwindcss-classnames v3.0.1
Bug Fixes
- add missing RTL and LTR modifiers (5e9a353)
tailwindcss-classnames v3.0.0
What's New in tailwindcss-classnames CLI
-
Way better performance overall (thanks to @dylanvann's idea and suggestions):
- Generated file size is reduced to be < 200 KB (default config). Previous version was generating a file sized about 100 MB.
- Fast autocompletion: this is due to usage of more specific utility functions and using template string types
-
BREAKING: Dropped support for JIT engine's Colors Opacity suffix feature (due to TypesScript TS2590 error)
-
BREAKING: Create Utility functions that accepts classnames (and pseudoclassnames) of that category. The
classnamesfunction won't accept or show autocompletion of all classnames anymore, but it will accept a function of these category functions (#293)✅ Correct
classnames( display('flex', 'md:block'), textColor('text-black', 'hover:text-red-600'), flexDirection('flex-row-reverse'), );
❌ Incorrect
classnames('flex', 'md:block', 'text-black', 'hover:text-red-600', 'flex-row-reverse');
Features
- rename overflow-clip & overflow-ellipsis to text-clip & text-ellipsis
- add
placeholdervariant (866ac55), closes #338 - add
border-hiddenutility (df94219), closes #335 - add
border-xandborder-ywidth and color utilities (c702c46), closes #334 - add
filevariant for::file-selector-buttonpseudo element (d51fe20), closes #339 - add
grow-*andshrink-*utilities, deprecateflex-grow-*andflex-shrink-*(73ee65d), closes #333 - add
openvariant (b261695), closes #341 - add
overflow-clip,overflow-x-clipandoverflow-y-cliputilities (f0c23ec), closes #336 - add
printvariant for targeting printed media (0a1be3d), closes #337 - add
scroll-behaviorutilities (c51e665), closes #330 - add
scroll-marginandscroll-paddingutilities (e3503e9) - add
scroll-snaputilities (e7d5070), closes #329 - add
touch-actionutilities (2d695e4), closes #331 - add classnames with important modifiers to utility functions (02a3555)
- add colored box shadow utilities (b92a42a), closes #318
- add flex basis utilites (closes #332) (8e900bb)
- add new layout and typography utilities (c5e839e)
- add new outline utilites (07da44a)
- add portrait and landscape variants (f89ec5a), closes #340
- add pseudoclassnames to their category function (224fb7a)
- add variants to the cli as it's removed from the new config (2bef20c)
- cli: generate per-category classnames (805396f)
- enable jit features all the time (84f281b)
- generate utility function for all category types ( #293) (1fa8a9b)
- generate utility functions for subcategories instead of categories (9486398)
- rename
decoration-sliceanddecoration-breaktobox-decoration-*(543e868), closes #344 - rename overflow-clip & overflow-ellipsis to text-clip & text-ellipsis (050b6e4)
- support
accent-colorutilities (b343833), closes #328 - support
will-changeutilities (0033a52), closes #343 - update config closure evaluator to evaluate new tailwind3 configs (440c1ed)
Bug Fixes
- disable duplicate breakpoint pseudoclass variants generation (912519a)
- generate correct module exports (3fac1c1)
- pass the parser into the fileContentGenerator instead of prefix (bce47a8)
- use correct condition for adding a dark mode variant (82cadf0)