3217 Commits

Author SHA1 Message Date
Andrey Savchenko
fafd6cb7ce
Linkified release versions in changelog (#2297)
Brackets around releases in Keep a Changelog standard are link anchors, not decorative.
2020-09-03 11:27:02 -04:00
Alex
667355db27
Update CHANGELOG.md (#2296)
Found some nissing backticks.
2020-09-03 11:26:50 -04:00
Adam Wathan
1c38c79198 Update CHANGELOG.md (#2294) 2020-09-02 21:13:48 -04:00
Robert Boes
c5510dbef4
Update CHANGELOG formatting (#2292) 2020-09-02 21:05:29 -04:00
Alex
501e025912
Create Changelog.md (#2291) 2020-09-02 16:33:04 -04:00
Adam Wathan
d44e75fc79
Purge layers by default, deprecate conservative mode (#2288)
* Purge `layers` by default, deprecate `conservative` mode

* Ensure base styles are wrapped in @layer

* Update processPlugins test
2020-09-02 14:42:27 -04:00
Eugene Kopich
ae6c1d04e3
chore(package.json): tailwindcss->tailwindlabs (#2277) 2020-09-02 14:37:50 -04:00
Adam Wathan
956133a7a4 Don't associate custom CSS with a layer by default 2020-09-02 13:57:44 -04:00
Adam Wathan
aae71c5249
Preserve HTML elements by default when purging unused styles (#2283) 2020-09-01 16:20:16 -04:00
Adam Wathan
5701d7847b
Add dark mode variant (#2279)
* Initial dark mode prototype

* Isolate dark mode logic to config extension

* Update fixtures

* Fix lint warnings
2020-09-01 13:16:00 -04:00
Keunbae Park
455b56164b
fix typo (#2276)
* fix typo

* Update purgeUnusedStyles.test.js
2020-08-31 09:11:24 -04:00
Adam Wathan
a2956f8a75 1.7.6 v1.7.6 2020-08-29 06:29:12 -04:00
Adam Wathan
2f81bf86e5 Update yarn.lock 2020-08-29 06:27:42 -04:00
Robin Malfait
681e4d8f38
Merge pull request #2269 from tailwindlabs/fix-promise-finally
use explicit .then and .catch instead of .finally for node 8.x
2020-08-28 15:36:45 +02:00
Robin Malfait
ce75f65347
use explicit .then and .catch instead of .finally for node 8.x 2020-08-28 15:32:42 +02:00
Robin Malfait
62eaac4b08 suppress console.warn logs in tests
This makes the test output a bit nicer to look at
2020-08-28 08:53:39 -04:00
Robin Malfait
ad7fec482b improve custom toMatchCss matcher 2020-08-28 08:50:13 -04:00
Adam Wathan
44dbde8ea6 Don't return when updating declaration important 2020-08-28 08:49:33 -04:00
Adam Wathan
5974f24eda Add test for applying hover class with !important 2020-08-28 08:17:25 -04:00
Adam Wathan
0174bb7b3e
Merge pull request #2260 from pkboom/missing-return
fix missing return
2020-08-27 13:37:01 -04:00
Keunbae Park
15bcb8bf18 fix missing return 2020-08-27 13:05:06 -04:00
Adam Wathan
d62c78beeb 1.7.5 v1.7.5 2020-08-26 13:03:18 -04:00
Adam Wathan
072c9eeab5 Update lodash 2020-08-26 13:01:36 -04:00
Adam Wathan
b2b9424a44 1.7.4 v1.7.4 2020-08-26 07:47:04 -04:00
Adam Wathan
1bc2fed3bd Tweak help text 2020-08-22 08:40:24 -04:00
Adam Wathan
ed3edf9129
Merge pull request #2225 from tailwindlabs/add-postcss-init-option
add tailwind -p init option to generate a postcss file
2020-08-22 08:38:35 -04:00
Adam Wathan
634a0e6a5f
Merge pull request #2211 from tailwindlabs/apply-to-rule-with-multiple-selectors
Fix issue where couldn't apply variant classes to rule with multiple selectors
2020-08-22 08:36:44 -04:00
Robin Malfait
939346d8b3
add tailwind -p init option to generate a postcss file 2020-08-22 01:43:47 +02:00
Robin Malfait
8fc70879ee
Merge pull request #2208 from tailwindlabs/cache-node-modules-on-ci
Cache node modules in CI
2020-08-22 00:26:57 +02:00
Robin Malfait
c79b0b936f
Merge pull request #2224 from tailwindlabs/fix-multiline-apply
Fix multiline @apply values
2020-08-22 00:23:36 +02:00
Robin Malfait
f15cace373
ensure we expect the correct amount of assertions
It is a bit of noise but it will ensure that we don't have false
positives. For example when you have the following code:

```js
it('should fail', () => {
  return promise.catch((err) => {
    expect(err).toBeInstanceOf(Error)
  });
});
```

You would expect that the test passes because we have an expect in the
`.catch` block. However if the promise just resolves it means that no
assertions are executed and the test is considered successful. So in
this case it will _also_ call but for the incorrect reasons!
2020-08-22 00:10:34 +02:00
Robin Malfait
3bf6348523
split @apply values by spaces, tabs and newlines
Fixes: #2222
2020-08-22 00:09:46 +02:00
Adam Wathan
3839c74312 Remove unused import 2020-08-20 16:31:25 -04:00
Adam Wathan
86288cd90b Fix issue where couldn't apply variant classes to rule with multiple selectors 2020-08-20 16:29:07 -04:00
Adam Wathan
2903811767 Add test coverage for purging with important string 2020-08-20 13:25:18 -04:00
Robin Malfait
f2e622a10a
cache node modules in CI 2020-08-20 18:43:23 +02:00
Adam Wathan
52f1a2d136 1.7.3 v1.7.3 2020-08-20 10:51:43 -04:00
Adam Wathan
d810a8ac1c
Merge pull request #2198 from tailwindlabs/bg-none
Add bg-none utility
2020-08-20 10:48:13 -04:00
Adam Wathan
2f7daa6d8b Add bg-none utility 2020-08-20 10:12:58 -04:00
Adam Wathan
c46e7cb939
Merge pull request #2205 from jmooring/issue-2203
Log to stderr instead of stdout
2020-08-20 10:06:23 -04:00
Joe Mooring
5362c65fcb Log to stderr instead of stdout
Fixes #2203
2020-08-20 09:37:22 -04:00
Adam Wathan
b17b51811f Remove unused function 2020-08-19 13:34:21 -04:00
Adam Wathan
b3db1053b5 Don't log anything for people who have opted in to future features 2020-08-19 13:28:04 -04:00
Adam Wathan
a7e19ca131 Pass opacityValue to gradient colors for transparency support, do not pass opacityVariable since unused 2020-08-19 11:38:22 -04:00
Adam Wathan
28930f4799 Merge branch 'fix/color-object-closures' of git://github.com/innocenzi/tailwindcss into innocenzi-fix/color-object-closures 2020-08-19 11:25:13 -04:00
Adam Wathan
239da620ff 1.7.2 v1.7.2 2020-08-19 11:03:08 -04:00
Adam Wathan
82c37a9792
Merge pull request #2195 from tailwindlabs/reuse-lookup
Optimize rebuilds in long-running processes
2020-08-19 11:02:43 -04:00
Adam Wathan
2d090feb98 Only log purge notice once per process 2020-08-19 10:56:51 -04:00
Adam Wathan
ef149cfafb Optimize rebuilds in long-running processes 2020-08-19 10:21:26 -04:00
Adam Wathan
d3606b76dc 1.7.1 v1.7.1 2020-08-18 21:15:07 -04:00