3578 Commits

Author SHA1 Message Date
Robin Malfait
f63aae7fab
2.0.2 v2.0.2 2020-12-11 15:08:26 +01:00
Robin Malfait
c0091d63a0
update changelog 2020-12-11 15:07:47 +01:00
Robin Malfait
eac11cf57d
Performance improvements + memory leak fix (#3032)
* fix memory leak

* add optional condition to hasAtRule

* use known tree to handle `@apply` when required `@tailwind` at rules exists

Otherwise we will generate the lookup tree.

* only generate the missing `@tailwind` atrules when using `@apply`

* update perf config to reflect 2.0 changes

* update changelog

* ensure lookup tree is correctly cached based on used tailwind atrules
2020-12-11 15:03:49 +01:00
depfu[bot]
f12458a61f Update eslint-plugin-prettier to version 3.2.0 2020-12-10 07:18:24 +00:00
Robin Malfait
d1ef88a61b
ring defaults (#2951)
* add ring defaults

Fixes #2911

* add tests for the ringWidth utility

+ defaults

* update changelog
2020-12-02 15:45:04 -05:00
depfu[bot]
d41ec713a6 Update @babel/core to version 7.12.9 2020-11-30 22:46:55 +00:00
depfu[bot]
ba753cf172 Update postcss to version 8.1.10 2020-11-29 00:31:17 +00:00
depfu[bot]
2d0c686f4a Update eslint to version 7.14.0 2020-11-27 23:17:34 +00:00
Robin Malfait
9c39c3efdc
update changelog 2020-11-27 15:41:15 +01:00
depfu[bot]
fa4296c124 Update prettier to version 2.2.0 2020-11-27 05:02:12 +00:00
Robin Malfait
6a41c0d73e
add test to verify that apply on multiple selectors work
Fixes: #2906
2020-11-26 16:14:17 +01:00
Robin Malfait
152202916c
Allow for recursively applying user defined classes (#2832) 2020-11-26 15:05:06 +01:00
Stefan Fisk
1e0fc09e0a
Fix !important on multiple selectors #2823 (#2824)
* Add failing test for #2823

* cleanup string literals

* use prettier for toMatchCSS diffs

* make sure that importants are applied correctly

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2020-11-26 14:53:58 +01:00
Adam Wathan
3ea5e18c24 Add failing test for complex apply scenario
@RobinMalfait Something to look at when you have time 🤔
2020-11-19 12:41:06 -05:00
Adam Wathan
27fd1f9883 Only run coverage in CI 2020-11-19 12:41:06 -05:00
Robin Malfait
195ffe9f50
make some changes to compat mode 2020-11-19 17:02:58 +01:00
Adam Wathan
f5010f592a Update changelog 2020-11-18 15:11:25 -05:00
Adam Wathan
7db444abcc 2.0.1 v2.0.1 2020-11-18 13:16:15 -05:00
Adam Wathan
fadd4c89a0 2.0.0 v2.0.0 2020-11-18 12:09:13 -05:00
depfu[bot]
98b4405941 Update resolve to version 1.19.0 2020-11-18 00:00:59 +00:00
Adam Wathan
4ab5672b86 Summarize 2.0 changelog 2020-11-17 14:39:11 -05:00
Adam Wathan
35f82119cd 2.0.0-alpha.25 v2.0.0-alpha.25 2020-11-17 08:27:54 -05:00
Adam Wathan
f80de6a67d Update changelog 2020-11-17 08:27:49 -05:00
Adam Wathan
3de0c48bd6 Don't mix unitless values with units in the same scale
Resolves an issue where `ring-offset-0` didn't actually work because `calc(0 * 1)` fails to compute, need a unit.
2020-11-17 08:26:44 -05:00
Adam Wathan
e701c818a0 2.0.0-alpha.24 v2.0.0-alpha.24 2020-11-16 19:52:01 -05:00
Adam Wathan
ffb04c5eac Update changelog 2020-11-16 19:51:55 -05:00
Adam Wathan
e40079a457 Fix cascading shadow/ring bug, ensure default ring color 2020-11-16 19:47:45 -05:00
Adam Wathan
5e50367172 Update changelog 2020-11-16 14:16:54 -05:00
Adam Wathan
2245f26e60 Rename plugin in compat mode 2020-11-16 14:13:49 -05:00
Robin Malfait
c238ed15b5
Improve compat mode (#2775)
* simplify compat mode

* make sure postcss is included

* make sure we cannot go into compatibility mode twice
2020-11-16 14:10:08 -05:00
Adam Wathan
83c685a43e 2.0.0-alpha.23 v2.0.0-alpha.23 2020-11-16 13:12:54 -05:00
Adam Wathan
63f5b41ffb Update changelog 2020-11-16 13:12:41 -05:00
Adam Wathan
1536166049 Merge branch 'master' of github.com:tailwindlabs/tailwindcss 2020-11-16 13:10:07 -05:00
Robin Malfait
1d8679d37e
Postcss7 compatibility (#2773)
* add postcss7 compatibility layers

* add compatibility mode scripts
2020-11-16 13:09:59 -05:00
Adam Wathan
332f421e40 Update changelog 2020-11-16 13:09:15 -05:00
Adam Wathan
d4cde737bf 2.0.0-alpha.22 2020-11-16 13:07:28 -05:00
Adam Wathan
fb00d14743 Update changelog 2020-11-16 13:07:28 -05:00
Robin Malfait
b86bdbcd7e
Cleanup custom properties (#2771)
* prefix custom properties with tw-

* prefix custom properties with tw- in tests

* prefix gradient values in the defaultConfig

* inline gradient-via-color

* simplify --tw-tailwind-empty to --tw-empty

* replace the long --tw-font-variant-numeric-... to the way shorter --tw-fvn-...

* Rename --tw-box-shadow to --tw-shadow

To match class name.

* Rename font-variant-numeric variables

* Remove 'transform' from transform variables

* Shorten gradient variables

* Fix style

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2020-11-16 11:45:55 -05:00
Adam Wathan
f57fbb62ae 2.0.0-alpha.21 v2.0.0-alpha.21 2020-11-15 16:14:55 -05:00
Adam Wathan
979a4e562d Update changelog 2020-11-15 16:14:51 -05:00
Adam Wathan
729b400a68 Upgrade to PostCSS 8 2020-11-15 16:13:48 -05:00
Adam Wathan
042e259265 2.0.0-alpha.20 v2.0.0-alpha.20 2020-11-13 22:26:27 -05:00
Adam Wathan
c0d44b70e9 Update changelog 2020-11-13 22:26:24 -05:00
Adam Wathan
b95cf5f595
Remove clearfix utility (#2766) 2020-11-13 22:25:23 -05:00
Adam Wathan
18e2bd6e15 2.0.0-alpha.19 v2.0.0-alpha.19 2020-11-13 19:52:11 -05:00
Adam Wathan
b5631c7a2f Update changelog 2020-11-13 19:52:07 -05:00
Adam Wathan
278c2031fb Fix bug where color palette could not be empty 2020-11-13 19:51:05 -05:00
Adam Wathan
869d68d03b 2.0.0-alpha.18 v2.0.0-alpha.18 2020-11-13 19:44:28 -05:00
Adam Wathan
064ef1b67b Update changelog 2020-11-13 19:44:25 -05:00
Adam Wathan
62a47f95b1 Properly support colors as closures with ring utilities 2020-11-13 19:41:08 -05:00