4079 Commits

Author SHA1 Message Date
Adam Wathan
92ab98d7a5 Update changelog 2021-07-21 09:12:56 -04:00
Hunter Tunnicliff
a23065353a
Update color to v3.2.0 (#4999) 2021-07-17 15:23:36 -04:00
Nestor Vera
cc4aaaaa49
Add new utility for align-self: baseline (#5000) 2021-07-17 15:19:14 -04:00
depfu[bot]
95688ba8d5 Update autoprefixer to version 10.3.1 2021-07-17 11:33:03 +00:00
depfu[bot]
afd132ef6e Update fast-glob to version 3.2.7 2021-07-15 19:49:00 +00:00
depfu[bot]
6acb051f67 Update eslint to version 7.30.0 2021-07-09 22:33:10 +00:00
depfu[bot]
fbe5be81ce Update postcss to version 8.3.5 2021-07-09 03:04:01 +00:00
Adam Wathan
de8a458ba1 Update changelog 2021-07-05 09:09:24 -04:00
depfu[bot]
34de2c8678 Update fast-glob to version 3.2.6 2021-07-04 17:32:52 +00:00
Adam Wathan
f20655c2d3
Fix backdrop opacity variants (#4892)
We weren't generating backdrop opacity variants properly due to a typo in the default config.
2021-07-04 09:50:14 -04:00
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