4019 Commits

Author SHA1 Message Date
depfu[bot]
fc0cca4ee1 Update all of jest to version 27.0.6 2021-07-04 12:32:43 +00:00
depfu[bot]
b72bae7312 Update prettier to version 2.3.2 2021-07-03 10:48:04 +00:00
moonrailgun
b16afc9467
fix: mergeWith callback should process undefined case (#4843) 2021-07-02 16:55:32 -04:00
Adam Wathan
a3230307f3
Ensure [hidden] works as expected (#4873) 2021-07-02 09:14:03 -04:00
depfu[bot]
dc0a0634aa Update clean-css to version 5.1.3 2021-07-02 10:49:02 +00:00
Adam Wathan
4a070ac0be
Try to use lowest impact selector when filling in defaults (#4866) 2021-07-01 17:18:46 -04:00
Adam Wathan
81e9f651e4 Update changelog 2021-07-01 14:49:40 -04:00
Sergey Tatarintsev
2166b76c53
Improve production build performance for the case of many small non-tailwind stylesheets (#4644)
* Improve `purge` performance in layers mode

In layers mode, skip `purgecss` completely if source stylesheet does
not have any tailwind layers. For the legacy codebases with a lot of
non-tailwind stylesheets, it dratically improves the performance of
the production build.

* fix: purgecss should respect safelist.variables
2021-07-01 14:25:06 -04:00
depfu[bot]
bf482112a6 Update didyoumean to version 1.2.2 2021-07-01 14:21:43 +00:00
Robin Malfait
f4ea2cf77d
Cleanup leftover layers (#4853)
* update snapshots with correct version

* add test that verifies @layer is removed correctly

* cleanup leftover `@layer` nodes
2021-07-01 06:34:11 -04:00
Adam Wathan
fe27356680
JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850)
* WIP

* run prettier

* drop new lines in custom matcher

Drop all newlines, let prettier handle everything for us.

* add cache for the selector parser

* add `@apply` tests for the universal optimizer

* drop comments

* initial replacements

* WIP

* WIP

* MAKE IT WORK

* Rename to resolveDefaultsAtRules

* Update tests + defaults identifiers

* Don't add @defaults in AOT mode

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2021-07-01 06:33:37 -04:00
Adam Wathan
369c7b5f0c
Ensure resorted plugins take into account all plugins they need to sort relative to (#4852) 2021-07-01 05:59:47 -04:00
Sachin Raja
b417e33638
use actions workflow status in readme badge (#4787)
* chore: use actions workflow status in readme badge

* remove travis link

* Update README.md

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-06-26 10:46:16 -04:00
Adam Wathan
a6e79f9e85
Improve extractor for arbitrary values with quotes (#4817)
Fixes #4801.
2021-06-26 10:20:49 -04:00
Adam Wathan
59c7e32a3b
Ignore "!*" in templates (#4816)
Fixes #4746
2021-06-26 10:20:36 -04:00
Tim
fdfecf3b9c
Add step-start and step-and to timings constant (#4795)
Co-authored-by: Tim Kleyersburg <tk@wacg.de>
2021-06-24 10:49:57 -04:00
Adam Wathan
b3d5b4e000 Rebuild fixtures 2021-06-23 16:22:01 -04:00
Adam Wathan
fb9f829779 Update changelog 2021-06-23 15:29:06 -04:00
Adam Wathan
d852de6785 2.2.4 v2.2.4 2021-06-23 15:27:53 -04:00
Adam Wathan
1eacfb9884 Remove postinstall script 2021-06-23 15:27:47 -04:00
Adam Wathan
91a441d458 Update fixtures 2021-06-23 15:25:46 -04:00
Adam Wathan
041eed0d46 2.2.3 v2.2.3 2021-06-23 14:32:18 -04:00
Adam Wathan
bbb6517efd Update changelog 2021-06-23 14:24:21 -04:00
Adam Wathan
384a0d079e Update changelog 2021-06-23 14:21:33 -04:00
Adam Wathan
246539d528 Update changelog 2021-06-23 14:14:45 -04:00
Adam Wathan
063eca6dc4
Remove outdated focus style fix (#4780)
* Remove outdated focus style fix from Preflight

* Update fixtures
2021-06-23 14:14:36 -04:00
Sachin Raja
c0ee52060c
Generate plugin list file (#4725)
* Generate plugin list file

Removes the importing of all plugins in src/util/resolveConfig to avoid importing CSS.
Import the built plugin list file instead.

* Use `process.cwd()` instead of `__dirname` to resolve path

Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>

* Import core plugin list in resolveConfig test

* Generate plugin list prebabelify and on install

* Move generation from install to postinstall

Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>

Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
2021-06-23 14:13:03 -04:00
schelmo
973d53d6dc
fix: do not return the userConfigPath if its null (#4773) 2021-06-23 14:12:42 -04:00
Arnout Roemers
aefd5f71cb
Enable purging when --purge option is supplied in CLI (#4772)
Do not require NODE_ENV to be set to 'production' as well, as using
the --purge option in the CLI should be explicit enough.

Co-authored-by: Arnout Roemers <roemers@zorgdomein.nl>
2021-06-23 14:12:06 -04:00
Robin Malfait
0413b84c12
ensure peer variants don't include multiple ~ characters (#4757)
Fixes: #4726
2021-06-22 20:40:52 -04:00
depfu[bot]
b7b2db2592 Update chokidar to version 3.5.2 2021-06-22 13:48:26 +00:00
depfu[bot]
987374fea4 Update @babel/core to version 7.14.6 2021-06-21 22:18:45 +00:00
Adam Wathan
d99663a71d
Update 1.bug_report.yml 2021-06-21 17:16:12 -04:00
depfu[bot]
7a8f7e2ff5 Update postcss-load-config to version 3.1.0 2021-06-21 11:47:52 +00:00
Adam Wathan
8da840f2a3 Add LICENSE for preflight
Preserves original license from suitcss-base, since Preflight was originally forked from that project.
2021-06-20 15:09:26 -04:00
Adam Wathan
359252c9b4 Pass colors to theme closures 2021-06-19 14:31:37 -04:00
Adam Wathan
1d72dc2699
Error when dash is used as custom separator (#4704) 2021-06-18 16:01:38 -04:00
depfu[bot]
ff14cb5ada Update cssnano to version 5.0.6 2021-06-18 18:19:00 +00:00
Robin Malfait
b274849938
add missing header
Oops, my bad
2021-06-18 16:40:08 +02:00
Robin Malfait
9e77d743c3
2.2.2 v2.2.2 2021-06-18 16:35:36 +02:00
Robin Malfait
f425661a90
rebuild fixtures 2021-06-18 16:35:19 +02:00
Robin Malfait
39db485483
update changelog 2021-06-18 16:35:19 +02:00
Robin Malfait
f6e36c2847
Fix stacking context issue (#4700)
* add no-op transform, filter, backdrop-filter utilities

* update tests
2021-06-18 16:31:14 +02:00
Robin Malfait
2fd6575095
2.2.1 v2.2.1 2021-06-18 15:42:31 +02:00
Robin Malfait
ea7b3f6189
rebuild fixtures 2021-06-18 15:42:18 +02:00
Robin Malfait
ade93d2343
update changelog 2021-06-18 15:41:08 +02:00
Adam Wathan
0148ee9535 Update changelog 2021-06-18 09:39:17 -04:00
Robin Malfait
0b6176bacf
Fix media queries for postcss7 (#4695)
This fixes a postcss7 issues where .append() does not clear the children
2021-06-18 15:37:52 +02:00
Robin Malfait
70ca673d96
ensure the CLI in watch mode keeps running when on error (#4693) 2021-06-18 08:46:00 -04:00
Adam Wathan
418d223837 Update fixtures 2021-06-17 14:45:44 -04:00