4740 Commits

Author SHA1 Message Date
Jordan Pittman
bdd9ae001d Update changelog 2022-07-25 15:03:34 -04:00
Josh Michaels
76f02e407e
Add declaration file for resolveConfig (#8924)
* add declaration file for resolveConfig

* alter spacing to match other .d.ts files
2022-07-25 14:54:25 -04:00
depfu[bot]
b311c203d9 Update @swc/jest to version 0.2.22 2022-07-25 02:43:59 +00:00
depfu[bot]
8d6e68228e Update @swc/core to version 1.2.218 2022-07-21 12:58:30 +00:00
depfu[bot]
e8f68a15a5 Update jest-diff to version 28.1.3 2022-07-20 15:29:15 +00:00
Adam Wathan
268ef00696 Use safelist 2022-07-18 09:31:45 -04:00
depfu[bot]
415f0a3544 Update lilconfig to version 2.0.6 2022-07-17 13:58:39 +00:00
depfu[bot]
31991f98e5 Update eslint to version 8.19.0 2022-07-15 21:01:34 +00:00
depfu[bot]
8b152e7cd5 Update prettier-plugin-tailwindcss to version 0.1.12 2022-07-14 15:59:33 +00:00
Jordan Pittman
2b0b219d61 Update changelog 2022-07-11 16:11:34 -04:00
Jordan Pittman
aee196ef47 3.1.6 v3.1.6 2022-07-11 15:56:46 -04:00
Jordan Pittman
deefbf5aaf
Handle theme keys with slashes when using theme() in CSS (#8831)
* Fix lookup of `theme(…)` paths with slashes in them

* Update changelog
2022-07-11 10:47:17 -04:00
Jordan Pittman
6f928a83cc Update changelog 2022-07-11 10:37:46 -04:00
Jordan Pittman
b4e637e2e0 Revert "Update postcss-load-config to version 4.0.1 (#8686)"
This reverts commit c47e66613f1d1072f7a71278d2ebee090af3010c.

Node 12 reached EOL on 30 April 2022 after which there will be no more bugfix or security releases. This is one reason why `postcss-load-config` dropped support for Node 10 *and* 12. However, as we still support Node 12 in Tailwind CSS v3, we can’t upgrade to `postcss-load-config` 4.0.
2022-07-11 10:04:21 -04:00
Adam Wathan
3504b15809
Update CHANGELOG.md 2022-07-07 13:55:06 -04:00
Jordan Pittman
bd03dec664 3.1.5 v3.1.5 2022-07-07 13:24:28 -04:00
Jordan Pittman
13c2ad05a2 update changelog 2022-07-07 13:24:28 -04:00
Jordan Pittman
1110d9289a Update changelog
This belongs in an added action as it’s a new feature not a bug fix
2022-07-07 13:24:07 -04:00
Jordan Pittman
62f0791dba
Add more explicit types for the default theme (#8780)
* Add more explicit types for the default theme

* Update changelog

* Cleanup

* Cleanup code a bit

* Add special cases for a few keys

* Fix order
2022-07-07 09:05:38 -04:00
depfu[bot]
6e75e6eb03 Update esbuild to version 0.14.48 2022-07-07 03:43:23 +00:00
depfu[bot]
5d04331a05 Update eslint-plugin-prettier to version 4.2.1 2022-07-07 02:29:08 +00:00
depfu[bot]
10e1b3958f Update jest to version 28.1.2 2022-07-06 13:01:32 +00:00
Tmk
6729524185 Support font-weight in font-size utilities (#8763)
* Support font-weight in font-size utilities

* WIP update tests

* Update changelog

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-07-04 17:01:06 -04:00
Jordan Pittman
1318cb6064 Update changelog 2022-07-04 16:38:07 -04:00
Jordan Pittman
102977530e
Add support for alpha values in safelist (#8774)
Co-authored-by: Petr Novak <petr.nmn.novak@gmail.com>
2022-07-04 16:37:38 -04:00
neilnaveen
f135bfa3e5
chore: Set permissions for GitHub actions (#8550)
Restrict the GitHub token permissions only to just what is required and make them read-only where possible.

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-07-04 15:12:32 -04:00
Jordan Pittman
8494f7515d
Don’t prefix selectors in arbitrary variants (#8773)
* Don’t prefix selectors in arbitrary variants

* Update changelog
2022-07-04 14:52:24 -04:00
Jordan Pittman
5191ec1c00
Fix usage of special-character prefixes (#8772)
* Fix import

* Support arbitrary prefixes

* Add test

* Update changelog
2022-07-04 14:42:27 -04:00
Jordan Pittman
c8c4852b87 Update changelog 2022-07-04 10:53:38 -04:00
Jordan Pittman
445970dcb7
Fix usage of postcss.config.js in standalone CLI (#8769)
* Update deps

* Fix usage of postcss config file in standalone CLI

The config file created with `--postcss` would fail because we didn’t stub require to load `tailwindcss` or `autoprefixer` when we should.

* Update tests

* WIP
2022-07-04 10:51:28 -04:00
Jordan Pittman
d4f1f1561c
Allows fallback values in plugin API helpers (#8762)
* Update types to allow for fallback property values in add/matchUtilities/Components/etc…

* Update changelog
2022-07-01 16:48:28 -04:00
depfu[bot]
c47e66613f
Update postcss-load-config to version 4.0.1 (#8686)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2022-07-01 16:39:26 -04:00
depfu[bot]
7b03ee90d4 Update cssnano to version 5.1.12 2022-07-01 20:28:32 +00:00
depfu[bot]
60a0ae2017 Update resolve to version 1.22.1 2022-06-24 21:14:48 +00:00
depfu[bot]
340cca9609 Update eslint to version 8.18.0 2022-06-24 20:59:52 +00:00
Jordan Pittman
1a30ca07ab 3.1.4 v3.1.4 2022-06-21 12:08:08 -04:00
Jordan Pittman
9f479f2799 update changelog 2022-06-21 12:08:08 -04:00
depfu[bot]
9c9ce366b4 Update prettier to version 2.7.1 2022-06-21 07:44:51 +00:00
Jordan Pittman
35b070e17e Fix typo in changelog 2022-06-20 10:50:40 -04:00
Jordan Pittman
00af2e8947
Don’t add spaces around raw / that are preceded by numbers (#8688)
* Don’t add spaces around raw `/` that are preceded by numbers

* Update changelog
2022-06-20 10:49:55 -04:00
Jordan Pittman
c5e7857362
Detect arbitrary variants with quotes (#8687)
* Refactor

* Support variants with quotes in them

We have to have two regexes here because this is actually ambiguous in the general case. The regex that generally handles `[&[foo='bar']]` would incorrectly match `['bar':'baz']` for instance. So, instead we’ll use multiple regexes and match both!

* Update changelog
2022-06-20 09:56:40 -04:00
depfu[bot]
77c248cabb Update cssnano to version 5.1.11 2022-06-17 22:01:00 +00:00
Jordan Pittman
8f3398ba1f Update changelog 2022-06-15 15:16:03 -04:00
Jordan Pittman
4cee145c1a Update changelog 2022-06-15 15:15:39 -04:00
Jordan Pittman
9778b528dc
Provide default to <alpha-value> when using theme() (#8652)
* Ensure default alpha is 1.0 when using new `<alpha-value>` format with the theme function

* Update changelog
2022-06-15 15:11:08 -04:00
depfu[bot]
3cf48bf174 Update esbuild to version 0.14.43 2022-06-15 03:28:17 +00:00
Jordan Pittman
76340ce5b9 3.1.3 v3.1.3 2022-06-14 13:12:28 -04:00
Jordan Pittman
bd454450f0 update changelog 2022-06-14 13:12:27 -04:00
Jordan Pittman
15dc5a3da9
Remove text opacity CSS variables from ::marker (#8622)
* Refactor

* Allow parallel variant fns to mutate the container

* Remove text color variable from marker pseudo class

wip

* Update changelog
2022-06-14 10:09:09 -04:00
Adam Wathan
22eaad17c3
Fix "Maximum call stack size exceeded" bug (#8636)
* Fix potential call stack size issue

* Update defaultExtractor.js

* add test to verify "Maximum call stack size exceeded" is fixed

* update changelog

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2022-06-14 14:17:40 +02:00