Commit graph

5422 commits

Author SHA1 Message Date
depfu[bot]
42e765f3cd Update rollup to version 4.12.0 2024-02-23 13:57:50 +00:00
depfu[bot]
598bdc80b7 Update sass to version 1.71.1 2024-02-23 05:44:17 +00:00
Kris Braun
e4154e0086
feat: add contain utilities (#12993)
* feat: add contain utilities

* chore: lint

* Support mulptiple contain properites

Support multiple contain properties, such as "contain-size contain-layout". Drop contain-unset as we haven't added -unset variants for other utilities.

* Update Vite; fix test regex

Vite is generating files like "index--T9oO-MP.css", which required relaxing the regex used in tests.

---------

Co-authored-by: Alexander <github@lichter.io>
2024-02-21 15:55:36 -05:00
Kris Braun
e3c5c11474
Update Vite; fix test regex (#12994)
Vite is generating files like "index--T9oO-MP.css", which required relaxing the regex used in tests.
2024-02-21 15:09:19 -05:00
Clement Chang
86e389001b
Add mix-blend-plus-darker utility (#12923)
* feat: add plus-darker support for mix-blend-mode

* Fix failing test

* Update changelog

* Formatting

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
2024-02-20 14:07:13 -05:00
depfu[bot]
a1e74f055b Update @swc/jest to version 0.2.36 2024-02-17 09:35:03 +00:00
depfu[bot]
f69a46bc00 Update chokidar to version 3.6.0 2024-02-14 01:30:20 +00:00
Jordan Pittman
1ea1fb9e1b Update changelog 2024-02-13 14:18:05 -05:00
Jordan Pittman
801a998d79
Sort arbitrary properties alphabetically across multiple class lists (#12911)
* Sort arbitrary properties alphabetically across multiple files

* Update test
2024-02-13 14:08:43 -05:00
depfu[bot]
49cbb414e9 Update postcss to version 8.4.35 2024-02-12 21:16:59 +00:00
depfu[bot]
8df3bc7fd3 Update turbo to version 1.12.3 2024-02-09 23:16:50 +00:00
depfu[bot]
edb6a20028 Update rollup to version 4.9.6 2024-02-09 07:16:24 +00:00
depfu[bot]
f57678e29b Update browserslist to version 4.22.3 2024-02-02 22:15:14 +00:00
depfu[bot]
66929501c1 Update sass to version 1.70.0 2024-01-31 00:31:17 +00:00
Robin Malfait
f945fc82f2 update tests to reflect Lightning CSS bump
+ solves an issue we had where `height: 100vh; height: -moz-available;`
  was missing. Nice!
2024-01-22 13:31:57 +00:00
Robin Malfait
9c626a52f6 sync package-lock.json 2024-01-22 13:31:57 +00:00
depfu[bot]
8fcb37dc20 Update lightningcss to version 1.23.0 2024-01-22 13:31:57 +00:00
depfu[bot]
2e8cfb620f Update vite to version 5.0.12 2024-01-19 22:14:12 +00:00
depfu[bot]
0ec66786ec Update rollup to version 4.9.5 2024-01-19 07:13:03 +00:00
Tommy
0848e4ca26
Fix incorrect release date for v3.4.1 in CHANGELOG.md (#12762) 2024-01-14 19:08:35 -05:00
depfu[bot]
4c6fbd79ba Update vite to version 5.0.11 2024-01-12 19:28:12 +00:00
depfu[bot]
3971f2a23e Update turbo to version 1.11.3 2024-01-11 23:25:01 +00:00
depfu[bot]
04c79d6e8e Update postcss to version 8.4.33 2024-01-11 23:16:11 +00:00
depfu[bot]
eb4051869b Update parcel to version 2.11.0 2024-01-11 21:13:04 +00:00
Jordan Pittman
7b6bc50931
Split :has rules when using experimental.optimizeUniversalDefaults (#12736)
* Split `:has` rules when using optimizeUniversalDefaults

* Update changelog
2024-01-09 15:10:19 -05:00
Adam Wathan
ce653c51d3
Ensure max specificity of 0,0,1 for button and input Preflight rules (#12735)
* Ensure max specificity of 001 in all Preflight rules

* Update changelog

* Update changelog

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2024-01-09 11:07:32 -05:00
Jordan Pittman
9dcd97a4dd Sync changelog 2024-01-09 10:46:06 -05:00
Jordan Pittman
fb1743b4b0
Restore old behavior for class dark mode, add new selector and variant options for dark mode (#12717)
* Add dark mode variant option

* Tweak warning messages

* Add legacy dark mode option

* wip

* Use `class` for legacy behavior, `selector` for new behavior

* Add simplified failing apply/where test case

* Switch to `where` list, apply changes to `dir` variants

* Don’t let `:where`, `:is:`, or `:has` be attached to pseudo elements

* Updating tests...

* Finish updating tests

* Remove `variant` dark mode strategy

* Update types

* Update comments

* Update changelog

* Revert "Remove `variant` dark mode strategy"

This reverts commit 185250438c.

* Add variant back to types

* wip

* Update comments

* Update tests

* Rename variable

* Update changelog

* Update changelog

* Update changelog

* Fix CS

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2024-01-05 14:39:34 -05:00
Robin Malfait
a5ae318a14
Improve glob handling for folders with (, ), [ or ] in the file path (#12715)
* sync package-lock.json

* modify `normalizePath` to keep `\\[`, `\\]`, `\\(` and `\\)` into account

* manually escape () and [] characters in globs

* update changelog
2024-01-05 17:23:30 +01:00
depfu[bot]
fbb86a2ac3 Update sass to version 1.69.7 2024-01-05 11:23:49 +00:00
Robin Malfait
f0bee02b0a
trigger jit cdn update when releasing a new version 2024-01-05 00:26:57 +01:00
Robin Malfait
4cf382d15b
re-enable play.tailwindcss.com auto updates 2024-01-04 22:53:53 +01:00
Jordan Pittman
47107be783
Don't add spaces to gradients and grid track names when followed by calc() (#12704)
* Don’t break gradient functions when following `calc()`

* Don’t break CSS grid track names

* Update changelog
2024-01-03 13:03:16 -05:00
depfu[bot]
b52a78b56f Update postcss-selector-parser to version 6.0.15 2024-01-01 19:29:08 +00:00
depfu[bot]
970f2ca704 Update eslint to version 8.56.0 2023-12-30 00:15:35 +00:00
depfu[bot]
f16a96aa72 Update sucrase to version 3.35.0 2023-12-29 03:44:04 +00:00
depfu[bot]
db584695c8 Update @swc/core to version 1.3.101 2023-12-25 06:29:29 +00:00
depfu[bot]
144cc5f175 Update rollup to version 4.9.1 2023-12-24 06:42:18 +00:00
depfu[bot]
2fddd06c17 Update vite to version 5.0.10 2023-12-22 19:27:31 +00:00
Jordan Pittman
5582f0bd41 Update changelog 2023-12-21 12:19:39 -05:00
Jordan Pittman
b048a0db80
Don't remove keyframe stops when using important utilities (#12639)
* Don't remove keyframe stops when using important utilities

* Fix test

* fix linting
2023-12-21 12:17:12 -05:00
Jordan Pittman
a091db5df4 Sync changelog with v3.4 2023-12-19 12:48:28 -05:00
Jordan Pittman
d884e9bc84
Fix custom config loading in Standalone CLI (#12616)
* Fix custom config loading in Standalone CLI

* Update changelog
2023-12-18 13:50:21 -05:00
Adam Wathan
af7e610aaa
Improve relative precedence of rtl, ltr, forced-colors and dark variants (#12584)
* Reduce specificity of `rtl`, `ltr`, and `dark` variants

Reduce specificity of `rtl`, `ltr`, and `dark` variants (when using `darkMode: 'class'`) to make them the same as other variants. This also sorts the LTR/RTL and dark variants later in the variant plugin list to ensure that the reduced specificity doesn't cause them to start "losing" to other variants to keep things as backwards compatible as possible.

Resolves a long-standing issue where `darkMode: 'media'` and `darkMode: 'class'` had different specificity, which meant switching your dark mode strategy could break your site.

* Update changelog

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2023-12-16 18:53:08 -05:00
depfu[bot]
c5d3aabb48 Update turbo to version 1.11.2 2023-12-14 23:44:42 +00:00
depfu[bot]
83a7f73355 Update @napi-rs/cli to version 2.17.0 2023-12-14 10:00:33 +00:00
Adam Wathan
e6075cbfb9 Update changelog 2023-12-13 10:03:51 -05:00
Luke Warlow
fb85c8fd17
Move forced-colors variant after dark variant (#12582)
Also add test for the order of the forced-colors variant
2023-12-13 10:03:14 -05:00
depfu[bot]
b3242e99ed
Update postcss-cli to version 11.0.0 (#12583)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-12-13 09:33:26 -05:00
depfu[bot]
32aca9189b Update browserslist to version 4.22.2 2023-12-10 05:30:02 +00:00