97 Commits

Author SHA1 Message Date
Adam Wathan
34d0551e93
Remove need for filter and backdrop-filter toggles (#4611) 2021-06-10 11:36:15 -04:00
Adam Wathan
b86aa5c2a9
Remove need for transform toggle (#4604) 2021-06-10 09:15:41 -04:00
Adam Wathan
65fde59f6a
Make it possible to enable caretColor and content core plugins in AOT mode (#4548)
* Fix issue where disabled corePlugins can't be re-enabled

* Disable caretColor and content core plugins by default, enable in JIT

* Don't disable caretColor/content in default config stub, hard-code for AOT instead

But with ability to still opt-in through your own config. Somewhat messy, but goal is to keep the messes in the AOT path and keep the JIT path pure.

* Fix style

* Revert unnecessary changes

* Fix style
2021-06-03 15:27:22 +02:00
Adam Wathan
77dfac2bfa
JIT: Add caret-color utilities (#4499)
Co-Authored-By: Jesse Katsumata <niconico.clarinet@gmail.com>

Co-authored-by: Jesse Katsumata <niconico.clarinet@gmail.com>
2021-05-28 13:55:42 -04:00
Adam Wathan
c8a5f816f4
JIT: Add support for before/after pseudo-elements (#4461) 2021-05-26 08:57:02 -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
Adam Wathan
38b4eeb288 Prettier likes parens a lot now
git blame is now broken forever.
2020-10-16 15:39:44 -04:00
Adam Wathan
e3ed12782f Update prettier 2020-10-16 13:30:06 -04:00
Adam Wathan
ac82484dd9
Don't import corePlugins in resolveConfig (#2548) 2020-10-13 08:14:57 -04:00
Adam Wathan
69845d6f4f
Add new utilities for grid-auto-columns and grid-auto-rows (#2531)
* Add grid-auto-columns/rows utilities

* Add responsive variants for auto-cols/rows utilities

* Update changelog
2020-10-09 13:11:57 -04:00
Adam Wathan
b299b6fbe1
Support new presets key + extending core plugins config (#2474)
* WIP

* Support array for Tailwind config

* Drop array format for `presets` key instead

* Update changelog
2020-10-08 11:21:39 -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
7945f0f7c8
Merge pull request #2176 from tailwindlabs/gradients
Add background gradient support
2020-08-18 08:06:50 -04:00
Adam Wathan
1d2dd1a5f4
Merge pull request #1965 from juno-w/master
Divide border style
2020-08-17 21:13:49 -04:00
Adam Wathan
8d87445b81 Improve API, support auto-transparent to, rename gradientColor plugin 2020-08-17 11:05:06 -04:00
Adam Wathan
7fb5d4a579 Add support for background images and 2/3-color-stop gradients 2020-08-16 15:23:49 -04:00
Adam Wathan
5b82b6f5ac Add background-clip utilities 2020-08-15 16:20:33 -04:00
Adam Wathan
bb8a221eeb Disable overscroll in IE11 mode 2020-07-28 12:13:34 -04:00
Adam Wathan
9b21133878
Merge pull request #2075 from wadefletch/master
Add overscroll features (Resolves #1957)
2020-07-27 16:16:06 -04:00
Wade Fletcher
444c59ffcd Add overscroll plugin 2020-07-25 14:49:21 -04:00
Adam Wathan
29b0739c35 Add basic set of general purpose animation utilities 2020-07-24 11:52:47 -04:00
Juno
07fcc11906 Divide border style 2020-06-25 09:59:01 +08:00
Adam Wathan
3b565d1f9c Add opacity modifiers for color utilities 2020-04-26 09:49:23 -04:00
Adam Wathan
8b2473fade
Merge pull request #1584 from tailwindcss/stack-divide-utilities
Add `space` and `divide` utilities
2020-04-17 13:26:23 -04:00
Adam Wathan
a6f5137a73 Rename stack to space, make invokePlugin output consistent 2020-04-16 12:43:22 -04:00
Adam Wathan
3143f20850 Add divideColor utilities 2020-04-16 11:01:24 -04:00
Adam Wathan
b447cd6ccd Add divideWidth plugin 2020-04-16 10:53:19 -04:00
Adam Wathan
c84c397f0b Add stack-x and stack-y utilities 2020-04-16 10:45:05 -04:00
Adam Wathan
aa4fd1ae99 Add support for providing a default line-height for each font-size 2020-04-16 09:35:50 -04:00
Philipp Bosch
0034fb86ac Add support for transition-delay 2020-03-19 17:03:12 +01:00
Adam Wathan
677e5a70c8 Combine gap, columnGap, and rowGap plugins into just gap, like margin/padding/inset 2020-02-01 13:52:18 -05:00
Adam Wathan
23ba99df04 Add transition utilities 2020-01-08 10:12:45 -05:00
Benoît Rouleau
6378808a42 Merge branch 'master' into skew 2020-01-02 18:03:50 -05:00
Benoît Rouleau
12cd6e600d Add skew plugin + change order of transform functions (apply translate last) 2020-01-02 17:26:38 -05:00
Adam Wathan
5ee1eb4404 Merge branch 'Larissagilliane-iss1074' 2019-12-30 09:23:38 -05:00
Adam Wathan
e4968d0767 Merge branch 'iss1074' of git://github.com/Larissagilliane/tailwindcss into Larissagilliane-iss1074 2019-12-30 09:15:21 -05:00
Adam Wathan
84c3bf3d6f
Merge pull request #1274 from tailwindcss/grid-utilities
Add CSS Grid utilities
2019-12-30 09:06:33 -05:00
Adam Wathan
a14e53ef7d Add grid-auto-flow utilities 2019-12-30 08:23:12 -05:00
Adam Wathan
ff4f4eb808 Move clear to it's own plugin 2019-12-27 09:27:18 -05:00
Adam Wathan
dff08348fd Rename box-sizing utilities 2019-12-27 09:10:03 -05:00
Alberto Bottarini
48d06210f0 add boxSizing classes 2019-12-27 09:06:39 -05:00
Adam Wathan
54684f7412 Update core plugins list, rebuild test fixtures 2019-12-27 07:45:43 -05:00
Adam Wathan
a552eb185b Add gap-* utilities, remove default values for col-gap and row-gap 2019-12-27 07:45:43 -05:00
Adam Wathan
d882d8d4fc Add CSS grid utilities 2019-12-27 07:45:43 -05:00
Adam Wathan
5335df2b2c Add first pass of transform utilities 2019-12-25 13:54:09 -05:00
Codeminer42
ba640fc79a Add stroke-width plugin 2019-08-22 16:55:23 -03:00
Adam Wathan
d2d081cba1 Add placeholder color utilities 2019-08-06 10:07:27 -04:00
Adam Wathan
9b94cc1ed2 Add sr-only and not-sr-only utilities 2019-06-10 19:39:25 -04:00
Adam Wathan
a92faeefac Fix conflicts, update tests 2019-04-27 11:37:20 -04:00