Robin Malfait
8e49e484df
update changelog
v1.8.1
2020-09-05 00:47:01 +02:00
Robin Malfait
4c4c5a3834
Fix purging in 1.8 ( #2320 )
...
* re-add missing `@layer`'s for responsive rules
* use toMatchCss for better diffing
* do not wrap user `@responsive` rules in an `@layer`
2020-09-04 18:36:50 -04:00
Robin Malfait
b399a0bf14
1.8.1
2020-09-04 23:53:58 +02:00
Robin Malfait
88174ff524
fix(font-variant-numeric): drop extra s ( #2318 )
...
* drop extra s
* update changelog
2020-09-04 23:53:30 +02:00
Adam Wathan
704ddee1e0
1.8.0
v1.8.0
2020-09-04 15:09:53 -04:00
Adam Wathan
b5d05063d5
Update changelog
2020-09-04 15:09:46 -04:00
Adam Wathan
09bd7d43f4
Move custom CSS within layers to corresponding Tailwind layer ( #2312 )
...
* Move custom CSS within layers to corresponding Tailwind layer
* Update changelog
2020-09-04 14:21:56 -04:00
Adam Wathan
476950ce40
Support defining variants as functions for easier extending ( #2309 )
...
* Support defining variants as functions for easier extending
* Fix style
* Remove commented code
* Add 'without' helper to variant function API
* Update changelog
2020-09-04 10:59:02 -04:00
Adam Wathan
ff013c5e9c
Add missing grid alignment utilities ( #2306 )
...
* added suppot for justify-self
* Update fixtures
* Add remaining grid alignment utilities
* Update changelog
Co-authored-by: Felix Alcala <felix.alcala@gmail.com>
2020-09-04 10:54:13 -04:00
Adam Wathan
b3270a5b31
Add fontVariantNumeric utilities ( #2305 )
...
* Add fontVariantNumeric utilities
* Don't generate fontVariantNumeric utilities in IE11 target mode
2020-09-03 15:04:29 -04:00
Adam Wathan
573999be6e
Make PR references in CHANGELOG links
2020-09-03 11:39:43 -04:00
Adam Wathan
c70c1f1770
Add "Unreleased" section to CHANGELOG
2020-09-03 11:38:43 -04:00
Adam Wathan
23e061bede
Mark features as experimental in changelog
2020-09-03 11:35:40 -04:00
Adam Wathan
1bf3bf7d76
Use compare links for CHANGELOG version links
2020-09-03 11:33:40 -04:00
Adam Wathan
e02543e58a
Format CHANGELOG with Prettier
...
It was going to happen by accident one day.
2020-09-03 11:28:34 -04:00
Adam Wathan
b6db110dd6
Use single backticks in CHANGELOG, not double
2020-09-03 11:27:59 -04:00
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