3941 Commits

Author SHA1 Message Date
depfu[bot]
1ca32b90b2 Update autoprefixer to version 10.2.4 2021-05-07 13:56:10 -04:00
depfu[bot]
183b0eb564 Update eslint to version 7.18.0 2021-05-07 13:56:10 -04:00
Robin Malfait
7ad9a548ef add version and license (#3255)
* add current version & license

* generate fixtures

* update changelog

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-05-07 13:56:10 -04:00
Adam Wathan
2c81a35ad8 Update changelog 2021-05-07 13:56:09 -04:00
Kevin Lang
7a295af48c add help cursor (#3199) 2021-05-07 13:56:09 -04:00
Adam Wathan
57dfefd462 Update changelog 2021-05-07 13:56:09 -04:00
Adam Wathan
ca21b4e6b4 Set explicit opacity value on placeholder pseudo-element (#3308)
Fixes #3300.
2021-05-07 13:56:09 -04:00
Andrew Brown
049981fcc0 fix command name (#3297)
command was changed from `prepare` to `prepublishOnly` here:

bc3c8bfbc4
2021-05-07 13:56:09 -04:00
Martin Stühmer
251c8d2490 Version number corrected in substituteTailwindAtRules (#3237) 2021-05-07 13:56:09 -04:00
Illia Sakovich
7c62ecdcdd from: undefined -> from: __filename (#3356) 2021-05-07 13:56:09 -04:00
depfu[bot]
c2dcd9aa3b Update eslint-config-prettier to version 7.2.0 (#3438)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-05-07 13:56:09 -04:00
Adam Wathan
85826818b0 Update changelog 2021-05-07 13:56:09 -04:00
depfu[bot]
cc93d01306 Update postcss to version 8.2.4 2021-05-07 13:56:09 -04:00
depfu[bot]
5de2ba8771 Update fs-extra to version 9.1.0 2021-05-07 13:56:09 -04:00
depfu[bot]
ecbec11d7a Update reduce-css-calc to version 2.1.8 2021-05-07 13:56:09 -04:00
depfu[bot]
6ce167ef0c Update eslint to version 7.17.0 2021-05-07 13:56:09 -04:00
depfu[bot]
e08c9948a0 Update autoprefixer to version 10.2.1 2021-05-07 13:56:09 -04:00
depfu[bot]
23940cbd01 Update eslint-plugin-prettier to version 3.3.1 2021-05-07 13:56:09 -04:00
Michaël De Boey
86e9c34a1a
chore: add tests for Node 16 (#4146) 2021-05-07 13:50:22 -04:00
Adam Wathan
d4ace42a50 Update changelog 2021-05-07 13:48:01 -04:00
Brad Cornes
477dd06ec3
Resolve purge paths (#4214)
* resolve purge paths

* add test for purgecss pattern resolution

* resolve purgecss patterns relative to the config file if there is one

* account for raw content when transforming purgecss options

* append test name to postcss `from` option in purge tests
fixes tests hanging

* add test for relative purge path resolution in JIT mode
2021-05-07 13:46:19 -04:00
Adam Wathan
a974d0e48f Update changelog 2021-05-07 13:34:55 -04:00
Adam Wathan
bd84d2f4c2
Ensure variants are grouped properly for plugins with order-dependent utilities (#4273) 2021-05-07 13:34:16 -04:00
Adam Wathan
e399c5fd80 Update CHANGELOG 2021-05-07 13:22:30 -04:00
depfu[bot]
0472056b82
Update eslint-config-prettier to version 8.2.0 (#4135)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2021-05-07 09:04:06 -04:00
Adam Wathan
e764df5055
Support forcing coercion type with arbitrary value syntax (#4263)
* Support forcing coercion type with arbitrary value syntax

* Refactor + more tests
2021-05-07 08:59:24 -04:00
Brad Cornes
4a374ebe5e
[JIT] Add support for "raw" purge content (#4272)
* add support for "raw" purge content

* add support for raw content extensions
2021-05-07 08:58:58 -04:00
Adam Wathan
76c670fc29 Update CHANGELOG 2021-05-06 13:53:17 -04:00
Adam Wathan
33fbad9ad6
Support applying important utilities in JIT (#4260) 2021-05-06 13:52:26 -04:00
Adam Wathan
2d9e2d9318 Update changelog 2021-05-06 13:17:23 -04:00
Adam Wathan
82f4eaa683 Ignore unknown types when hashing config 2021-05-06 13:16:32 -04:00
Adam Wathan
52e08306ea Update CHANGELOG 2021-05-06 10:06:34 -04:00
Robin Malfait
73877aef44
simplify animation tests and improve stability (#4250)
This will make sure that we tackle a few additional edge cases:

- When the `name` is the same as a reserved keyword, then it will be
  used as a `name` as well. E.g.: 1s ease ease infinite; Will result in
  a name of `ease` as well.
- We take care of trimming and multiple spaces.
- We don't generate 8k tests anymore, which means that these specific
  tests only take a second instead of 10 seconds.
2021-05-06 09:40:06 -04:00
Robin Malfait
6628eb00ca
Improve matchUtilities API and make it work with the AOT engine (#4232)
* implement matchUtilities2

* ensure animation names without keyframes are not prefixed

* remove matchBase

* call addUtilities for each group individually

* WIP: Write plugins using matchUtilities2

* MORE

* Fix arbitrary value support for fontSize

* Fixes, update fixtures

* Rebuild fixtures

* Don't generate `divide` class with no modifier

* Fixes, rebuild fixtures

* Rename matchUtilities2 to matchUtilities

* Delete bad tests

* Remove temp files GROSS

* Clean stuff up

* Support no return in matchUtilities

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-05-05 15:23:32 +02:00
depfu[bot]
d76c55afc6 Update postcss to version 8.2.13 2021-05-03 12:47:04 +00:00
Adam Wathan
8f5903f873 Note new matchUtilities API design 2021-04-30 12:26:16 -04:00
Adam Wathan
1a1fc1c5c6 Refactor fontVariantNumeric to remove mode condition 2021-04-30 12:04:23 -04:00
Adam Wathan
61e2872fbc Remove support for returning an array of functions in matchUtilities
Can add again if we need it?
2021-04-30 11:38:23 -04:00
Adam Wathan
82942e7083 Very basic AOT matchUtilities support 2021-04-30 11:21:43 -04:00
Robin Malfait
bfc61625d9
[WIP] Unify JIT and AOT code paths (#4188)
* WIP

* WIP

* Finish combining JIT and AOT plugins

Still lots of clean up that can be done in some of the more complex ones, but at least it's one file per plugin now.

* Remove unused import

* Fix AOT generation bugs

* Move corePlugins/index.js to corePlugins.js

* Convert JIT files to ESM

* Move tests

* Reorder core plugins to match JIT order

* Update AOT apply tests

* Unify utils

* Combine plugin lists to one single source of truth

* Finish resolving merge conflicts, fix tests

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-04-30 10:58:40 -04:00
Ayrton De Craene
54aa5be7ce
Return rgb values if the opacity core plugins are disabled (#3984) 2021-04-30 09:45:50 -04:00
Axel Hernández Ferrera
fbc0f2fca0
Improve @apply performance (#3718)
* Split the buildUtilityMap function to memoize the static part

* fix tests
2021-04-30 09:34:18 -04:00
Adam Wathan
f9d54f0382 Refactor preserving rgb/hsl when adding alpha channel 2021-04-30 09:27:56 -04:00
Federico Ciardi
92bb81e647
feat: transform hsl to hsla (#3850)
* feat: transform `hsl` to `hsla`

* feat: update plugins using `toRgba`

* Test `gradientColorStops`

* Add test for `ringWidth`

* Add percentage symbol after Saturation and Lightness
2021-04-30 09:09:58 -04:00
Nurettin Kaya
b80b5bb1a3
[JIT] Support CSS Variables in arbitrary calc (#4147) 2021-04-30 09:00:36 -04:00
Brad Cornes
44eddadf18
Account for Svelte class bindings at the start of a line (#4187)
* add failing svelte syntax test case

* account for svelte class bindings at the start of a line
2021-04-30 08:59:04 -04:00
depfu[bot]
3843700470 Update chalk to version 4.1.1 2021-04-29 04:43:17 +00:00
depfu[bot]
0c19e409f7 Update postcss-selector-parser to version 6.0.5 2021-04-28 08:08:49 +00:00
depfu[bot]
c820770996 Update all of babel7 to version 7.13.16 2021-04-28 06:20:39 +00:00
depfu[bot]
9b1e843b70 Update eslint to version 7.24.0 2021-04-23 21:18:04 +00:00