Adam Wathan
7a5bc97008
Merge branch 'spiltcoffee-variant-fix'
2018-09-15 09:01:36 -04:00
Adam Wathan
eeb788661c
Add test for generating variants for multi-selector rules
2018-09-15 09:01:30 -04:00
Adam Wathan
12857ddf05
Test no prefix apply with function prefix
2018-09-15 08:58:09 -04:00
Adam Wathan
77a2aedc00
Refactor findClass
2018-09-15 08:58:09 -04:00
Adam Wathan
e497a2b5de
Use existing prefixSelector function
2018-09-15 08:58:09 -04:00
Rouven Hurling
dfb8c256ab
fix code, test and style
2018-09-15 08:58:09 -04:00
Rouven Hurling
2ed82bbea1
Fix test for optional prefix (missing dash)
2018-09-15 08:58:09 -04:00
Rouven Hurling
3a103fe83a
Fix travis issue (missed an opening bracket)
2018-09-15 08:58:09 -04:00
Rouven Hurling
e1e3cb677a
Add test for optional prefix
2018-09-15 08:58:09 -04:00
Rouven Hurling
a38c785350
Implement optional prefix substitution in @apply
2018-09-15 08:58:09 -04:00
Adam Wathan
3e55b9a78a
Test no prefix apply with function prefix
2018-09-15 08:26:24 -04:00
Adam Wathan
8d5aee4a77
Refactor findClass
2018-09-15 08:24:42 -04:00
SpiltCoffee
38ac38cf99
Fixed linting error
2018-09-15 13:07:29 +10:00
SpiltCoffee
002a4ba90d
Changed Variant Generation to apply per selector in a ruleset ( fixes #530 )
2018-09-15 11:38:58 +10:00
Adam Wathan
39ec3b14cc
Use existing prefixSelector function
2018-09-14 16:22:49 -04:00
Rouven Hurling
d7d715a94e
fix code, test and style
2018-09-14 17:04:54 +02:00
Rouven Hurling
582aeec575
Fix test for optional prefix (missing dash)
2018-09-14 15:31:21 +02:00
Rouven Hurling
8042c268d4
Fix travis issue (missed an opening bracket)
2018-09-14 15:27:43 +02:00
Rouven Hurling
f8dfd04600
Add test for optional prefix
2018-09-14 15:20:29 +02:00
Rouven Hurling
f629b647da
Implement optional prefix substitution in @apply
2018-09-14 15:10:17 +02:00
Adam Wathan
a63c976dc7
Merge pull request #463 from paulozoom/feature/focus-within
...
Add :focus-within variant
2018-09-13 21:49:44 +09:30
Adam Wathan
1a8383c08d
Merge branch 'master' into feature/focus-within
2018-09-13 21:41:16 +09:30
Adam Wathan
737e0628da
Merge pull request #537 from ky-is/update-normalize-css
...
Update normalize.css to v8.0.0
2018-09-13 21:38:09 +09:30
Adam Wathan
456abf8139
Merge pull request #550 from scottbedard/patch-1
...
Improve IE support for flex-1 utility
2018-09-13 21:35:34 +09:30
scottbedard
3bfcc88695
fix failing tests
2018-09-12 19:52:11 -07:00
scottbedard
7fb1af00f6
fix remaining shorthand cases for flexbug #6
...
see https://github.com/philipwalton/flexbugs#flexbug-6
2018-09-12 19:43:47 -07:00
Scott Bedard
9cb177a737
Improve IE support for flex-1 utility
...
closes #549
2018-09-10 11:38:55 -07:00
Kyle Coburn
646d469b6d
Fix formatting
...
@benface
2018-08-21 14:24:15 -07:00
Kyle Coburn
f9dd4c654e
Standardize formatting
2018-08-19 15:45:18 -07:00
Kyle Coburn
114891f3fa
Remove obsoleted override rule
...
normalize.css 8 applies "font-family: inherit" to the same elements
2018-08-19 15:43:54 -07:00
Kyle Coburn
2f6d6eb0ad
Update to normalize.css v8.0.0
...
Drops IE9, Android 4.3, Safari 8, iOS 8
2018-08-19 15:03:50 -07:00
Adam Wathan
95f1d90b70
0.6.5
v0.6.5
2018-08-14 13:40:52 -04:00
Adam Wathan
4a521bf81b
Merge pull request #533 from tailwindcss/preserve-zero-units
...
Preserve units for zero value properties
2018-08-15 03:10:28 +09:30
Adam Wathan
d82a7556c0
Preserve units for zero value properties
2018-08-14 13:37:08 -04:00
Adam Wathan
01e74f7b4c
0.6.4
v0.6.4
2018-07-16 08:47:45 -04:00
Adam Wathan
37493edfc7
Merge pull request #520 from tailwindcss/process-tailwind-features-together
...
Process tailwind features together
2018-07-16 22:17:25 +09:30
Adam Wathan
7201c4f51b
Rename lazyConfig to getConfig
2018-07-16 08:37:23 -04:00
Adam Wathan
c0adb29f27
Be more defensive about fetching input source file
2018-07-16 08:35:58 -04:00
Adam Wathan
91286ad6bf
Process all Tailwind features as one big plugin
2018-07-16 08:30:57 -04:00
Adam Wathan
25744172d1
Extract duplication to function
2018-07-12 11:05:09 -04:00
Adam Wathan
1a9b87f085
Fix style
2018-07-12 11:02:13 -04:00
Adam Wathan
80baf4aa17
Pass generated utilities around as array instead of root
...
When you do something like container.before(someRoot), PostCSS actually *mutates* someRoot, leaving it empty and moving its contents before the container. container.before(arrayOfNodes) on the other hand does no weird mutation.
This PR makes sure generatedUtilities is an array of nodes instead of a PostCSS container to avoid this unexpected mutation. It makes it a bit more work to walk those nodes if they need to be transformed, but I think it's worth the trade-off. Can always write a helper function around that if the boilerplate starts to feel repetitive.
2018-07-11 19:14:33 -04:00
Adam Wathan
89a18e272c
0.6.3
v0.6.3
2018-07-11 15:54:25 -04:00
Adam Wathan
597bad6ee5
Clone generatedUtilities before inserting
2018-07-11 15:54:11 -04:00
Adam Wathan
9afe6154be
0.6.2
v0.6.2
2018-07-11 12:35:23 -04:00
Adam Wathan
dd6fa7c4eb
Merge pull request #516 from tailwindcss/shadow-table
...
[Experiment] Allow `@apply`-ing utility classes that aren't explicitly defined but would be generated
2018-07-12 02:01:19 +09:30
Adam Wathan
ee6340af4a
Merge pull request #517 from tailwindcss/variant-plugin-flag
...
Move plugin variant features behind experiment
2018-07-12 01:59:48 +09:30
Adam Wathan
7846d2a228
Move plugin variant features behind experiment
2018-07-11 12:13:50 -04:00
Adam Wathan
4078aa8be1
Remove duplicate test
2018-07-11 12:03:29 -04:00
Adam Wathan
24e1385aca
Only enable shadow lookup if shadowLookup experiment is enabled
2018-07-11 11:51:47 -04:00