1553 Commits

Author SHA1 Message Date
Adam Wathan
d77bc055ee Support for basic variant generator plugins
Allows you to write a plugin that registers a new variant but only
allows you to modify the selector (like what our built-in generators
do.)

Next steps are to support variants that wrap rules with at-rules
(like @supports for example), variants that can modify properties
(as opposed to just selectors), and to give variant plugin authors
control over how responsive variants interact with their own variants.
2018-06-26 13:44:47 -04:00
Adam Wathan
9eca69ad83 Refactor process plugins to return an object 2018-06-26 13:44:47 -04:00
Adam Wathan
9d05910507 Generate variants based on the order specified in the modules config 2018-06-26 13:44:47 -04:00
Adam Wathan
bfaafffb3f Fix style 2018-06-26 13:44:38 -04:00
Adam Wathan
46ea06e6d6
Merge pull request #504 from tailwindcss/table-layout
Add table layout module
2018-06-26 05:10:25 +09:30
Adam Wathan
6fb772cb71 Test config can be passed as object instead of path 2018-06-25 08:35:01 -04:00
Benoît Rouleau
46058cf6c8 accept config as a js object 2018-06-22 21:01:18 -04:00
Adam Wathan
2eb49a8fb4 Add table layout module 2018-06-22 09:55:56 -04:00
Adam Wathan
c14076742b 0.6.1 v0.6.1 2018-06-22 07:53:23 -04:00
Adam Wathan
9b039c7ad3
Merge pull request #503 from tailwindcss/fix-shadow-outline
Fix shadow outline
2018-06-22 21:22:56 +09:30
Adam Wathan
06b1651b84 Update tests 2018-06-22 07:51:50 -04:00
Adam Wathan
12ecc8dbb9 Fix shadow-outline syntax 2018-06-22 07:48:15 -04:00
Adam Wathan
e8ca4d0be8 0.6.0 v0.6.0 2018-06-21 12:03:27 -04:00
Adam Wathan
f39e973fc3
Merge pull request #499 from tailwindcss/more-spacing-sizes
Add more default spacing sizes
2018-06-21 21:35:50 +09:30
Adam Wathan
bed2ddc223 Add more default spacing sizes
...and matching height/width where spacers had them but sizes didn't.
2018-06-20 15:10:21 -04:00
Adam Wathan
9339839f87
Merge pull request #498 from tailwindcss/add-more-default-variants
Enable more variants by default
2018-06-21 04:20:08 +09:30
Adam Wathan
7c8e6f9d25 Enable more variants by default 2018-06-20 14:34:50 -04:00
Adam Wathan
1fc8a85ffd
Merge pull request #491 from tailwindcss/no-outline
Add "outline-none" and "shadow-outline" utilities
2018-06-21 03:52:00 +09:30
Jonathan Reinink
38609128c1 Remove default tabindex="-1" outline style in Preflight 2018-06-20 13:46:41 -04:00
Jonathan Reinink
dd71f23bfa Enable focus varients for outlines by default 2018-06-20 13:41:48 -04:00
Jonathan Reinink
23a0151311 Enable focus varients for shadows by default 2018-06-20 13:40:26 -04:00
Jonathan Reinink
d4deb7f971 Rename "no-outline" to "outline-none" instead 2018-06-20 13:38:36 -04:00
Adam Wathan
7019ef3a8f
Merge pull request #426 from adevade/patch-1
Add height: auto; to img tag in preflight
2018-06-21 02:33:05 +09:30
Adam Wathan
490e378f64
Merge pull request #497 from tailwindcss/add-screen-prefix-to-last-class
Add variant prefix to last class in a selector, not the first
2018-06-21 02:27:39 +09:30
Adam Wathan
8333d46cae Add variant prefix to last class in a selector, not the first 2018-06-20 12:21:14 -04:00
Jonathan Reinink
62994fc022 Clean up tabs in preflight 2018-06-15 09:16:01 -04:00
Jonathan Reinink
f188bd3093 Change no-outline utility value form "none" to "0" 2018-06-15 09:04:04 -04:00
Adam Wathan
4771c93edd
Merge pull request #489 from tailwindcss/border-collapse
Add border collapse default styles and utilities
2018-06-15 22:32:45 +09:30
Adam Wathan
1ed3f51b72
Merge pull request #469 from niallobrien/patch-1
Adds a style field to point to the compiled css
2018-06-15 22:24:01 +09:30
Adam Wathan
71519487e2
Merge pull request #445 from hacknug/feature/overflow
Add overflow hidden classes for each axis
2018-06-15 22:21:43 +09:30
Jonathan Reinink
8b3709309d Add default shadow outline utility 2018-06-14 14:13:07 -04:00
Jonathan Reinink
38962a5e77 Add "no-outline" utility 2018-06-14 14:12:53 -04:00
Jonathan Reinink
d0d70b8282 Add "border-collapse" and "border-separate" utilities 2018-06-14 11:46:04 -04:00
Jonathan Reinink
9e218a2491 Add "border-collapse: collapse" table style in Preflight 2018-06-14 11:45:08 -04:00
Adam Wathan
775fc30b72
Merge pull request #483 from tailwindcss/fix-480
Use more robust existing library for escaping class names instead of homegrown regex
2018-06-04 22:50:07 +09:30
Adam Wathan
1de2a24eb3 Switch to more robust existing CSS escaping library 2018-06-04 09:14:38 -04:00
Adam Wathan
c678d91fe0 Test that class names in apply directives are escaped 2018-06-04 08:49:36 -04:00
Adam Wathan
9b9d8f374b
Merge pull request #477 from DanielRuf/chore/test-nodejs-8-10
chore: tests Node.js 8 and 10, remove PHP in CI config
2018-05-29 08:38:16 +09:30
Daniel Ruf
a65c59084f
chore: tests Node.js 8 and 10, remove PHP in CI config 2018-05-29 00:13:17 +02:00
Adam Wathan
70eac95c51 Update dependencies 2018-05-25 08:15:27 -04:00
Niall O'Brien
e338ca8189
Updates package.json to add a style field 2018-05-17 18:17:03 +01:00
Adam Wathan
01104b64bb 0.5.3 v0.5.3 2018-05-07 14:36:29 -04:00
Adam Wathan
96e11a14c0
Merge pull request #462 from davemo/fix/cli-output-logging
add test harness for cli.js and stdout bugfix
2018-05-03 10:50:17 -07:00
David Mosher
862bce837e add test harness for cli.js and stdout bugfix
- when used on the CLI, lib/cli.js was writing the output of log
statements to STDOUT; this caused consumers of the CLI who wanted to
pipe the processed output (css) to other unix utilities to end up with
invalid CSS due to the log messages appearing at the start and end of
the files

- this commit fixes this by replacing `console.log` with `console.warn`
and `console.error`, which both write output to STDERR
2018-05-03 13:42:45 -04:00
Nestor Vera
f4c9d45f8e Add classes to set overflow visible on independent axis 2018-04-03 11:38:51 +02:00
Nestor Vera
5f31ad6f42 Add overflow hidden classes for each axis (plus tests) 2018-04-02 18:56:18 +02:00
Adam Wathan
14f1ba6cb9
Merge pull request #442 from tailwindcss/preflight-sourcemaps
Add sourcemaps for replaced preflight styles
2018-03-30 10:29:20 -04:00
Adam Wathan
2e34df923e Add sourcemaps for replaced preflight styles 2018-03-30 10:23:56 -04:00
Adam Wathan
64d3cf5e2a 0.5.2 v0.5.2 2018-03-29 12:11:25 -04:00
Adam Wathan
94961d43f6
Merge pull request #440 from tailwindcss/remove-nodemon
Remove nodemon, add nsp check to test command
2018-03-29 12:05:37 -04:00