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
depfu[bot]
47327f4efa
Update jest to version 28.1.1
2022-06-14 06:34:20 +00:00
depfu[bot]
2712d87fdb
Update jest-diff to version 28.1.1
2022-06-14 06:30:11 +00:00
Jordan Pittman
1c24d7a473
Detect alpha value in CSS theme() function when using quotes ( #8625 )
...
* Allow alpha value inside quotes
* Optimize regex
* Add test
* Update changelog
2022-06-13 15:32:52 -04:00
Dany Castillo
aad299cf90
Fix missing spaces around arithmetic operators ( #8615 )
...
* add tests for spaced around operators in CSS math functions
* fix CSS math functons besides calc not getting the love they deserve
* improve comment
* update changelog
* update changelog
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2022-06-13 11:58:07 +02:00
depfu[bot]
d1165637d3
Update arg to version 5.0.2
2022-06-12 18:43:28 +00:00
Jordan Pittman
037396b4a6
Ignore PostCSS nodes returned by addVariant ( #8608 )
...
* Fix issue with returning postcss nodes in addVariant
It’s not a supported use case but it didn’t use to break so let’s just fail silently
* Update changelog
2022-06-12 10:50:41 -04:00
Jordan Pittman
a9c7e52a59
Fix extraction of multi-word utilities with arbitrary values and quotes ( #8604 )
...
* Fix extraction of multi-word utilityies with arbitrary values and quotes
* Update changelog
* Fix changelog entry
This wasn’t in 3.1.2 oops
2022-06-12 10:10:10 -04:00
Maxime Garcia
ad98a619a4
Fix casing of import of corePluginList type definition ( #8587 )
...
* Fix: Wrong import of CorePluginList type file
* Update changelog
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-06-10 09:56:15 -04:00
Robin Malfait
ce80574ff5
3.1.2
v3.1.2
2022-06-10 11:54:47 +02:00
Robin Malfait
05f866dcb3
update changelog
2022-06-10 11:54:47 +02:00
Robin Malfait
0d064ea032
Enable postcss-import in the CLI by default in watch mode ( #8580 )
...
* Add support for postcss-import in watch mode
* Add regression test
* Extract shared logic
* restructure test a little bit
Instead of relying on a arbitrary setTimout value, let's wait for the
file to be created instead.
* update changelog
Co-authored-by: Adam Bergman <adam@fransvilhelm.com>
2022-06-10 11:33:35 +02:00
Robin Malfait
d32728b433
Ensure \ is a valid arbitrary variant token ( #8576 )
...
* `\` are valid arbitrary variant tokens
We use `\` for escaping `.` or `_` so they should be part of the
arbitrary variant regex.
* update changelog
2022-06-10 10:51:16 +02:00
Jordan Pittman
3f2e570ed4
3.1.1
v3.1.1
2022-06-09 16:55:44 -04:00
Jordan Pittman
2a0415345e
Update changelog
2022-06-09 16:55:25 -04:00
Jordan Pittman
0664aae901
Fix class detection in markdown code fences and slim templates ( #8569 )
...
* Fix detection of classes in markdown code fences
* Fix candidate detection in `.slim` templates
* Update changelog
2022-06-09 16:53:02 -04:00
Jordan Pittman
c44dd7b8e7
Fix postcss plugin type ( #8564 )
...
* Fix postcss plugin type
* Update changelog
2022-06-09 16:38:45 -04:00
Jordan Pittman
6b1eb19079
Split ::backdrop into separate defaults group ( #8567 )
...
* Split `::backdrop` into separate defaults group
* Update tests
* Update changelog
2022-06-09 16:26:18 -04:00
Jordan Pittman
7aa2d4ddf3
Don’t clip slashes inside brackets when using the theme function ( #8563 )
2022-06-09 14:09:57 -04:00
Robin Malfait
9a5db88e54
Fix candidate extractor regression ( #8558 )
...
* fix regression
This is a regression where `%>utility<%` didn't properly abstract
`utility`
* update changelog
2022-06-09 18:22:20 +02:00
Robin Malfait
c01ce5c0fd
3.1.0
v3.1.0
2022-06-08 15:32:47 +02:00
Robin Malfait
66c7a199d4
update changelog
2022-06-08 15:32:47 +02:00
Robin Malfait
a0c2ee8c38
Ensure we can use @import 'tailwindcss/...' without node_modules ( #8537 )
...
* ensure we can use `@import 'tailwindcss/...'` without node_modules
This is useful if you are using `npx tailwindcs ...` and to prevent
that postcss-import crashes on the tailwind specific imports which we
will replace anyway.
* update changelog
2022-06-07 19:03:38 +02:00
Ivo Sabev
ac91c6aaae
Remove process dependency from log functions ( #8530 )
...
* Remove process dependency from log functions
* Fix check
* update changelog
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2022-06-07 11:23:32 +02:00
Adam Wathan
4f400767a8
Add ::backdrop to universal defaults ( #8526 )
...
* Add `::backdrop` to universal defaults
* Update changelog
2022-06-06 15:53:08 -04:00
Jordan Pittman
14f6574318
Only listen for stdin close on TTYs ( #8523 )
2022-06-06 10:04:18 -04:00
depfu[bot]
436b543d70
Update eslint to version 8.16.0
2022-06-03 21:44:53 +00:00
depfu[bot]
75dac6825b
Update detective to version 5.2.1
2022-06-03 16:28:25 +00:00