Jordan Pittman
76340ce5b9
3.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
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
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
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
Robin Malfait
4a745439f0
Add type annotations to the tailwind.config.js file ( #8493 )
...
* add type annotation to the config by default
* use `@type {import('tailwindcss').Config}` instead
2022-06-02 16:44:12 +02:00
Jordan Pittman
64b4e6df7b
Replace rgb and hsl helpers with <alpha-value> placeholder for colors with custom properties ( #8501 )
...
* implement <alpha-value>
* remove `rgb`/`hsl` helpers, use `<alpha-value>` instead
* never pass undefined to `withAlphaValue`
* WIP
* WIP
* WIP
* WIP
* Update changelog
* Cleanup
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2022-06-02 10:21:20 -04:00
depfu[bot]
1f74568352
Update @swc/core to version 1.2.196
2022-06-01 21:28:44 +00:00
Adam Wathan
c65a1a2a79
Don't inherit gradient "to" from parent ( #8489 )
...
* Don't inherit gradient "to" from parent
* Update changelog
2022-06-01 15:25:45 -04:00
Adam Wathan
fca70850b2
Add optional variant ( #8486 )
...
* Add variant
* Update changelog
2022-06-01 08:39:43 -04:00
Adam Wathan
1bde724d14
Move items in changelog
2022-06-01 06:20:19 -04:00
Adam Wathan
2b944c5b10
Skip tests ending in .test.skip.js
2022-06-01 06:16:39 -04:00
Adam Wathan
5398d57b1a
Update changelog
2022-06-01 06:02:59 -04:00
Adam Wathan
a11e0c63be
Disable variantGrouping experiment
2022-06-01 06:02:15 -04:00
Jordan Pittman
0744954802
Update changelog
2022-05-31 13:16:36 -04:00
Jordan Pittman
34fd0fb82a
Feature flag matchVariant API
2022-05-31 13:15:14 -04:00
Robin Malfait
d2fdf9eb09
Allow returning parallel variants from addVariant or matchVariant callback functions ( #8455 )
...
* allow to return an array of format strings from matchVariant or
addVariant
* add parallel variant with function test
* upgrade test to use a function call
* allow to return parallel variants from variant function
Caveat: this now belongs to the same plugin and is not registered as
separate variants which means that sort order can differ.
* prevent crash if `.toMatchFormattedCss()` receives undefined
* update changelog
* ensure that we use a local list of variant functions
Now that a variant function can return a list of variant functions from
within the plugin, we have to make sure to executed and register those
functions as well.
However, we need to make sure that this list is local for the variant
and not "globally" registered otherwise we keep add a dynamic function
to the global list which results in duplicate output becaus multiple
duplicate variants will be registered.
* add little warning regarding potential clashes
* Update CHANGELOG.md
2022-05-31 15:03:06 +02:00
Adam Wathan
2dffc87447
Move stuff in changelog
2022-05-30 16:18:05 -04:00
depfu[bot]
62e3514233
Update postcss to version 8.4.14
2022-05-28 16:49:42 +00:00
Jordan Pittman
ac8fbc680e
Update changelog
2022-05-27 10:02:03 -04:00
Jordan Pittman
3f4005e833
Disable filterDefault for ring opacity when using respectDefaultRingColorOpacity
2022-05-27 09:59:52 -04:00
Jordan Pittman
cab1fcecc5
Add future flag to preserve custom, default ring color opacity ( #8448 )
...
* Add future flag to preserve ring color opacity
* Update changelog
2022-05-27 09:48:27 -04:00
depfu[bot]
029540893d
Update jest to version 28.1.0
2022-05-27 12:30:06 +00:00
Jordan Pittman
c4e443acc0
Add postcss-import support to the CLI ( #8437 )
...
* Add postcss-import support to the CLI
* Update changelog
2022-05-25 14:28:52 -04:00