2197 Commits

Author SHA1 Message Date
Adam Wathan
8fb2351463 Make second parameter to className optional 2019-04-25 07:59:47 -04:00
Adam Wathan
c6ae957aff Support negative values for inset 2019-04-24 16:37:13 -04:00
Adam Wathan
6bca0266db
Merge pull request #865 from tailwindcss/combine-margin-plugins
Remove negativeMargin plugin, handle negative values in regular margin plugin
2019-04-24 15:33:33 -04:00
Adam Wathan
e8b64fdb62 Move negative margin logic into a helper
Adds a new `utils` bucket that's passed as a second arg when using a closure for theme values. The idea is you can destructure useful helper functions out of this argument, in this case a `negative` function that converts a positive scale to negative values. That's the only helper function right now, but making it a destructurable arg so we can add more if necessary without adding a bunch of positional arguments.
2019-04-24 15:15:30 -04:00
Adam Wathan
2d91aa8caa Remove unused lodash dependency, use implicit return 2019-04-24 08:40:00 -04:00
Adam Wathan
a7ec9c2396 Remove negativeMargin plugin, handle negative values in regular margin plugin 2019-04-23 20:04:35 -04:00
Adam Wathan
e9b4014131
Merge pull request #858 from ky-is/fix-formatcss
Fix format for empty root nodes case
2019-04-20 11:22:11 -04:00
Kyle Coburn
5056363090 Fix formatting empty root 2019-04-19 20:32:54 -07:00
Adam Wathan
fb714acfa6 Fix conflicts 2019-04-19 12:34:15 -04:00
Adam Wathan
854e6b1cdd Standardize on leading zeros 2019-04-19 12:33:15 -04:00
Brandon
e59fead1b5
Make boxShadow rgba opacity uniform in config stub 2019-04-19 09:11:38 -05:00
Adam Wathan
3166b49940
Merge pull request #854 from MichaelDeBoey/theme-function
Make theme config accessible in the plugins
2019-04-18 17:43:06 -04:00
Michaël De Boey
d4b2b8b755
Make theme config directly accessible in the plugins 2019-04-18 23:29:07 +02:00
Adam Wathan
ab07e68097 1.0.0-beta.5 v1.0.0-beta.5 2019-04-18 15:34:29 -04:00
Adam Wathan
665aeae8fd
Merge pull request #853 from tailwindcss/whitelist-core-plugins
Make it possible to whitelist core plugins by passing an array
2019-04-18 15:06:41 -04:00
Adam Wathan
0e0ab3ab7a Make it possible to whitelist core plugins by passing an array 2019-04-18 10:31:14 -04:00
Adam Wathan
daea6623fd
Merge pull request #852 from tailwindcss/global-variants
Support configuring a single list of variants to apply to all relevant plugins
2019-04-18 10:17:16 -04:00
Adam Wathan
f0bc35a896 Support configuring a single list of variants to apply to all relevant plugins 2019-04-18 09:42:21 -04:00
Adam Wathan
43f63bf2e5
Merge pull request #849 from tailwindcss/disable-all-core-plugins
Support disabling all corePlugins with corePlugins: false
2019-04-17 12:19:28 -04:00
Adam Wathan
27cef23a2c Support disabling all corePlugins with corePlugins: false 2019-04-17 08:15:37 -04:00
Adam Wathan
4f58205d1d
Merge pull request #847 from tailwindcss/remove-perfectionist-dependency
Remove dependency on perfectionist, implement simple formatting from scratch
2019-04-17 08:08:03 -04:00
Adam Wathan
93184084c6 Rename formatNodes to formatCSS 2019-04-17 08:07:42 -04:00
Adam Wathan
de1884fdd9 Fix formatting 2019-04-16 11:49:12 -04:00
Adam Wathan
c98cc12d35 Remove dependency on perfectionist, implement simple formatting from scratch 2019-04-16 11:43:17 -04:00
Adam Wathan
c88c187ca4
Merge pull request #845 from tailwindcss/dependabot/npm_and_yarn/next/prettier-1.17.0
Bump prettier from 1.16.4 to 1.17.0
2019-04-16 08:52:09 -04:00
dependabot[bot]
529878d5b9
Bump prettier from 1.16.4 to 1.17.0
Bumps [prettier](https://github.com/prettier/prettier) from 1.16.4 to 1.17.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.16.4...1.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 00:20:45 +00:00
Adam Wathan
4009d2c8a1
Merge pull request #830 from tailwindcss/dependabot/npm_and_yarn/next/jest-24.7.1
Bump jest from 24.5.0 to 24.7.1
2019-04-15 20:19:08 -04:00
Adam Wathan
6d6757e9a2
Merge pull request #826 from tailwindcss/dependabot/npm_and_yarn/next/@babel/core-7.4.3
Bump @babel/core from 7.4.0 to 7.4.3
2019-04-15 20:18:58 -04:00
dependabot[bot]
c3d3086292
Bump @babel/core from 7.4.0 to 7.4.3
Bumps [@babel/core](https://github.com/babel/babel) from 7.4.0 to 7.4.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.4.0...v7.4.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-11 10:49:56 +00:00
dependabot[bot]
332e876b2b
Bump jest from 24.5.0 to 24.7.1
Bumps [jest](https://github.com/facebook/jest) from 24.5.0 to 24.7.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v24.5.0...v24.7.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-11 10:49:24 +00:00
Adam Wathan
2f68865098
Merge pull request #829 from tailwindcss/dependabot/npm_and_yarn/next/babel-jest-24.7.1
Bump babel-jest from 24.7.0 to 24.7.1
2019-04-11 06:42:51 -04:00
Adam Wathan
94a20f1948
Merge pull request #838 from tailwindcss/dependabot/npm_and_yarn/next/autoprefixer-9.5.1
Bump autoprefixer from 9.5.0 to 9.5.1
2019-04-08 06:43:04 -04:00
Adam Wathan
b6129c0c81
Merge pull request #837 from tailwindcss/dependabot/npm_and_yarn/next/postcss-js-2.0.1
Bump postcss-js from 2.0.0 to 2.0.1
2019-04-08 06:42:53 -04:00
dependabot[bot]
41934e00ab
Bump autoprefixer from 9.5.0 to 9.5.1
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.5.0 to 9.5.1.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.5.0...9.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-08 06:47:37 +00:00
dependabot[bot]
bbc870ff24
Bump postcss-js from 2.0.0 to 2.0.1
Bumps [postcss-js](https://github.com/postcss/postcss-js) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/postcss/postcss-js/releases)
- [Changelog](https://github.com/postcss/postcss-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-js/compare/2.0.0...2.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-08 06:47:10 +00:00
dependabot[bot]
460881be26
Bump babel-jest from 24.7.0 to 24.7.1
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 24.7.0 to 24.7.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v24.7.1/packages/babel-jest)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-04 06:58:56 +00:00
Adam Wathan
63c3ca2708
Merge pull request #824 from tailwindcss/dependabot/npm_and_yarn/next/@babel/preset-env-7.4.3
Bump @babel/preset-env from 7.4.2 to 7.4.3
2019-04-03 08:05:33 -04:00
Adam Wathan
af37b6e46e
Merge pull request #823 from tailwindcss/dependabot/npm_and_yarn/next/@babel/cli-7.4.3
Bump @babel/cli from 7.2.3 to 7.4.3
2019-04-03 08:05:26 -04:00
Adam Wathan
24d35a7c60
Merge pull request #822 from tailwindcss/dependabot/npm_and_yarn/next/babel-jest-24.7.0
Bump babel-jest from 24.5.0 to 24.7.0
2019-04-03 08:05:18 -04:00
Adam Wathan
10a1507739
Merge pull request #821 from tailwindcss/fix-fill-color-generation
Fix fill and stroke color utility generation
2019-04-03 08:04:58 -04:00
dependabot[bot]
1e9c1bb249
Bump @babel/preset-env from 7.4.2 to 7.4.3
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.4.2 to 7.4.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.4.2...v7.4.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-03 07:16:15 +00:00
dependabot[bot]
ca4057b5c8
Bump @babel/cli from 7.2.3 to 7.4.3
Bumps [@babel/cli](https://github.com/babel/babel) from 7.2.3 to 7.4.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.2.3...v7.4.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-03 07:15:52 +00:00
dependabot[bot]
e750035677
Bump babel-jest from 24.5.0 to 24.7.0
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 24.5.0 to 24.7.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v24.7.0/packages/babel-jest)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-03 07:15:21 +00:00
David Hemphill
12afd6e8a1 fix stroke utility generation 2019-04-02 15:55:19 -05:00
David Hemphill
06fbc2a0c8 Delete .prettierrc 2019-04-02 15:27:57 -05:00
David Hemphill
6190fe52d4 Fix fill color utility generation 2019-04-02 15:23:40 -05:00
Adam Wathan
7538098110
Merge pull request #813 from tailwindcss/dependabot/npm_and_yarn/next/eslint-5.16.0
Bump eslint from 5.15.3 to 5.16.0
2019-04-01 08:17:53 -04:00
dependabot[bot]
b460518383
Bump eslint from 5.15.3 to 5.16.0
Bumps [eslint](https://github.com/eslint/eslint) from 5.15.3 to 5.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.15.3...v5.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 07:33:31 +00:00
Adam Wathan
52787f47d9 1.0.0-beta.4 v1.0.0-beta.4 2019-03-29 13:27:15 -04:00
Adam Wathan
b2ad6a4d18 Bump node dependency to 8.9.0
6.9.0 is EOL next month and our defaultConfig stub already uses features not supported in 6.x, which means I either had to change that file to use Object.assign instead of spread, or bump our dependency.

Would rather not have to write prehistoric JS just to support an almost-EOL version.
2019-03-29 13:26:17 -04:00