Functional typed classnames for TailwindCSS
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 1 year ago
backdrop
, enabled
and optional
variants (a1c57e5)contrast-more
and contrast-less
variants (8720a8b)grid-flow-dense
utility (f70f2eb)mix-blend-plus-lighter
utility (edcfdca)border-spacing
utilities (4ab9a62)text-start
and text-end
utilities (f6955a0)Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
Way better performance overall (thanks to @dylanvann's idea and suggestions):
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 classnames
function 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');
placeholder
variant (866ac55), closes #338
border-hidden
utility (df94219), closes #335
border-x
and border-y
width and color utilities (c702c46), closes #334
file
variant for ::file-selector-button
pseudo element (d51fe20), closes #339
grow-*
and shrink-*
utilities, deprecate flex-grow-*
and flex-shrink-*
(73ee65d), closes #333
open
variant (b261695), closes #341
overflow-clip
, overflow-x-clip
and overflow-y-clip
utilities (f0c23ec), closes #336
print
variant for targeting printed media (0a1be3d), closes #337
scroll-behavior
utilities (c51e665), closes #330
scroll-margin
and scroll-padding
utilities (e3503e9)scroll-snap
utilities (e7d5070), closes #329
touch-action
utilities (2d695e4), closes #331
decoration-slice
and decoration-break
to box-decoration-*
(543e868), closes #344
accent-color
utilities (b343833), closes #328
will-change
utilities (0033a52), closes #343
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
self-baseline
utility (6f3a05f)Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
box-decoration-break
utilities (65416ca), closes #193
isolation
utilities (0529a87), closes #194
mix-blend-mode
and background-blend-mode
utilities (#200) (a6c8e87), closes #195
inline-table
, list-item
utilities (6a500af), closes #192