4796 Commits

Author SHA1 Message Date
Brandon McConnell
cc1be47a4f
Add support for visibility: collapse with new collapsed utility (#9181)
* Add support for `visibility: collapse` with new `collapsed` utility

* fixup

* Update changelog

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-09-09 13:19:24 -04:00
Jordan Pittman
d6bec49934
Fix parallel variant ordering clash (#9282)
* Remove remnants of the user layer

It hasn’t been used in a while

* Rewrite sort offset generation

* wip

* wip

wip

* Handle parasite utilities

* wip

* wip

* Make parallel variants sorting more resillient

It’s not perfect but it’s close

* fix

* remove todo

it adds a new bit so it can’t

* Simplify getClassOrder usage

* Simplify

oops

oops

* Add parasite utility for `dark`

dark mode class name

* Cleanup

* Cleanup

* Simplify

* format files

* Fix prettier plugin to use git build of Tailwind CSS

Symlink and build instead of adding a recursive dev dependency

It breaks node < 16

* Fix prettier error

* wip

* fix test

* Update changelog

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2022-09-09 13:12:43 -04:00
Remco Haszing
88e98f557c
Fix issue with Tailwind modifying global state (#9294)
* Fix issue with Tailwind modifying global state

When running Tailwind, it modifies the plugin defaults parameters. As a
result Tailwind using a Tailwind plugin in the same process twice yields
different results.

* Add failing test

* Undo defaults change

* wip

* Fix shared mutation problem

* Update changelog

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-09-09 11:45:25 -04:00
Jordan Pittman
db50bbbc71
Handle variants on complex selectors (#9262)
* Handle variants on complex selector utilities

* Update changelog
2022-09-06 12:58:38 -04:00
depfu[bot]
09f38d2964 Update eslint to version 8.23.0 2022-09-02 22:47:02 +00:00
Jordan Pittman
17b81b4150
Allow negating utilities using min/max/clamp (#9237)
* Allow negating utilities using min/max/clamp

* Update changelog
2022-09-01 12:15:23 -04:00
Jordan Pittman
8b1bf8006d
CLI: Ignore watch events for files that don't match globs (#9215)
* Don’t re-add files in the CLI watcher that are covered by dynamic patterns

They don’t have the same problem. As long as the parent directory is watched their add/change events will fire correctly

* Ignore raw events for files that don’t match the content files

* fixup

* Update changelog
2022-08-31 12:59:56 -04:00
Brad Cornes
edf47a012d
Fix theme(fontFamily.*) when family contains fontFeatureSettings config (#9217) 2022-08-30 17:18:41 +01:00
Brad Cornes
914a4b6228
Update CHANGELOG.md 2022-08-30 12:23:54 +01:00
Brad Cornes
bcf14b1e1b
Fix fontFamily config types (#9214) 2022-08-30 12:22:15 +01:00
depfu[bot]
d6e6ff6f34 Update @swc/core to version 1.2.244 2022-08-30 05:29:11 +00:00
Jordan Pittman
c601fea37e Remove classCache check
It’s no longer necessary. If we have an entry in the `candidateRuleCache` then it’ll also be in the class cache and vice-versa. Also, we weren’t adding rules when hitting that cache like we should’ve been.
2022-08-29 15:03:40 -04:00
Jordan Pittman
58cc7ed3e8
Re-use existing entries in the rule cache (#9208)
* Add test

* Reuse rule cache entries when possible

* Update changelog
2022-08-29 14:13:32 -04:00
Augustine Calvino
da850424dc
fix safelist variant key required by typings (#9200) 2022-08-28 19:00:22 +02:00
Jordan Pittman
b0a549923f Handle when watchedPath is a file and not directory 2022-08-26 14:35:08 -04:00
Jordan Pittman
ad7dbda7e9
Fix CLI not watching atomically renamed files (#9173)
* Fix CLI not watching atomically renamed files

Chokdar should take care of this itself but sometimes it doesn’t do so OR is otherwise very sensitive to timing problems

* Force chokidar to always check for atomic writes

* Handle repeated atomic saves by retrying file reads

* Update changelog
2022-08-26 12:47:00 -04:00
Brad Cornes
7b6ac54ec8
Trigger Tailwind Play update after publishing insiders build (#9191) 2022-08-26 16:28:53 +01:00
Damian Głowala
28c7281193
Update preflight.css (#9190) 2022-08-26 11:19:07 -04:00
Jordan Pittman
7f93550e63
Honor the hidden attribute on elements in preflight (#9174)
* Honor the `hidden` attribute on elements

You’ll still be able to override this with utilities but this ensures that things like `<iframe hidden>` work as expected

* Update changelog
2022-08-24 17:05:44 -04:00
Adam Wathan
cef02e2dc3
Update CHANGELOG.md 2022-08-21 09:38:53 -04:00
Mosaad
e6fe4edb54
Remove invalid .outline-hidden (#9147) 2022-08-21 09:37:46 -04:00
depfu[bot]
bd46d0dce8 Update cssnano to version 5.1.13 2022-08-19 18:13:17 +00:00
Justin Wong
9d495b9ed0
Implement negative outline offsets (#9136)
* Implement negative outline offsets

* Update changelog
2022-08-19 06:32:18 -04:00
Adam Wathan
720be91466
Update CHANGELOG.md 2022-08-19 06:31:36 -04:00
Jordan Pittman
7924e7b40c Don’t replace all instances of the same class
This isn’t 100% correct either so we’re backing out this change
2022-08-15 16:05:47 -04:00
Jordan Pittman
ef74fd3db6
Fix @apply selector rewriting when multiple classes are involved (#9107)
* Rewrite `replaceSelector` using `postcss-selector-parser`

* Sort classes between tags and pseudos when rewriting selectors

* Update changelog
2022-08-15 14:43:41 -04:00
Jordan Pittman
b0018e20bf
Add future flag to disable color opacity utility plugins (#9088)
* Add future flag to disable opacity utility plugins

This will become the default in Tailwind CSS v4.0

* Update changelog
2022-08-15 13:45:02 -04:00
depfu[bot]
22ab71da5e Update eslint to version 8.21.0 2022-08-13 20:59:43 +00:00
depfu[bot]
bbf2b1b165 Update postcss to version 8.4.16 2022-08-13 18:43:51 +00:00
Roman Kotov
4ff417c5b6
Add standalone-cli node16-linux-armv7 build (#9084)
* Add standalone-cli node16-linux-armv7 build

* Update changelog

Co-authored-by: Roman Kotov <roman@MacOS.lan>
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-08-12 13:10:10 -04:00
Jordan Pittman
2882d4c9ee
Fix ring color utility generation when using respectDefaultRingColorOpacity (#9070)
* Correct ring color list when using `respectDefaultRingColorOpacity`

* Update changelog
2022-08-10 10:36:04 -04:00
depfu[bot]
21849031bd Update esbuild to version 0.14.54 2022-08-09 22:14:05 +00:00
Adam Wathan
c7f627dd68
Add support for configuring default font-feature-settings for a font-family (#9039)
* Add support for configuring default font-feature-settings for a font-family

* Update changelog

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2022-08-08 15:02:08 -04:00
流君酱
fbbe3c011e
Use absolute paths when resolving changed files (#9032)
* Fix vite3 postcss statSync not found

* Update changelog

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-08-08 10:47:23 -04:00
Jordan Pittman
99b53b4160 3.1.8 v3.1.8 2022-08-05 10:33:22 -04:00
Jordan Pittman
7cfbc8cb53 update changelog 2022-08-05 10:33:22 -04:00
Jordan Pittman
f92665cb83 Update changelog 2022-08-05 10:33:17 -04:00
Jordan Pittman
0a3aad9511 Revert "Don't use cursor: pointer for buttons by default (#8962)"
We’re undecided on whether or not this should be released right now so we’ll revert it and revisit it later.
2022-08-05 10:05:46 -04:00
depfu[bot]
a6d17835c8 Update autoprefixer to version 10.4.8 2022-08-05 11:44:34 +00:00
Jordan Pittman
20456efae4
Fix @apply of user utilities when negative and non-negative versions both exist (#9027)
* Fix application of rules with multiple matches of differing selectors

`-foo-1` and `foo-1` are both matches for the class `-foo-1` but `@apply` only wants the first one. It would remove the second one and cause an error because it’s an entirely separate match that had it’s only rule removed.

* Update changelog
2022-08-04 14:24:17 -04:00
depfu[bot]
2bfd3e7423 Update prettier-plugin-tailwindcss to version 0.1.13 2022-08-04 15:59:10 +00:00
Jordan Pittman
23815e9f5a Update changelog 2022-08-03 06:09:24 -04:00
Jordan Pittman
89b960d771
Fix resolution of alpha values inside color functions (#9008)
* Fix resolution of alpha values inside color functions

* Update changelog
2022-08-02 11:13:04 -04:00
Justin Wong
0b5bfc8065
Remove class prefix in arbitrary variant that is used multiple times (#8992)
* Remove prefix in multi-used arbitrary variant

* Update changelog

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-07-31 18:20:43 -04:00
Jeet
c6bac2d614
Centered the project name (#9000)
A centered project name makes documentation much better looking and appealing.
2022-07-31 10:51:09 -04:00
depfu[bot]
2b73af5605 Update eslint to version 8.20.0 2022-07-30 19:14:55 +00:00
Jordan Pittman
262079e1e5 Revert "Revert "Don't use cursor: pointer for buttons by default (#8962)""
This reverts commit e1aafc5df5e33e4fa69e4923ada23e683296dc14.
2022-07-29 17:03:38 -04:00
Jordan Pittman
14542d94f7 Allow manual rebuilds of the CLI v3.1.7 2022-07-29 11:49:20 -04:00
Jordan Pittman
1fa9d71fc1 Tweak standalone CLI build setup 2022-07-29 11:48:22 -04:00
Jordan Pittman
97bc222365 Update deps 2022-07-29 11:48:22 -04:00