Commit graph

5388 commits

Author SHA1 Message Date
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
Adam Wathan
cb9c64a6d2
Add * variant for targeting direct children (#12551)
* add `*` as child variant

* add `*` as allowed variant character

* update test to reflect Lightning CSS output

* add `childVariant` test

* Update changelog

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
Co-authored-by: Gregor Kaczmarczyk <github@aggreggator.de>
2023-12-09 09:11:00 -05:00
depfu[bot]
c5449a03b4 Update eslint-config-prettier to version 9.1.0 2023-12-09 10:15:32 +00:00
depfu[bot]
42bddaea9b Update eslint to version 8.55.0 2023-12-09 00:16:18 +00:00
depfu[bot]
5e115e7a46 Update vite to version 5.0.5 2023-12-06 00:12:12 +00:00
Jordan Pittman
7385373c35
Fix support for container query utilities with arbitrary values (#12534)
* Fix support for container query utilities with arbitrary values

* Update changelog
2023-12-05 12:26:33 -05:00
Jordan Pittman
f667746d79 Sync changelog 2023-12-04 13:32:43 -05:00
Jordan Pittman
d2bb6f1bd0 Fix candidate detection regex 2023-12-04 11:24:03 -05:00
Jordan Pittman
6dfcdd1007
Fix loading of built-in plugins when using an ESM or TypeScript config with the Standalone CLI (#12506) 2023-12-01 11:44:30 -05:00
Jordan Pittman
317fba1d6b
Fix source maps of variant utilities that come from an @layer rule (#12508)
* Refactor

* Keep traversing sibling nodes

* Make sure the root node has a source location for the end

* Add source map test for at-rule variants

* Update changelog
2023-12-01 11:05:34 -05:00
Jordan Pittman
3169d159ca
Fix generation of utilities that use slashes in arbitrary modifiers (#12515)
* Fix support for slashes in arbitrary modifiers

* Update changelog
2023-12-01 10:44:08 -05:00
Jordan Pittman
b2b37e04e4
Don't crash when given applying a variant to a negated version of a simple utility (#12514)
* Don't crash when given applying a variant to a negated version of a simple utility

* Update changelog
2023-12-01 10:22:45 -05:00
depfu[bot]
dac9cf23a2 Update parcel to version 2.10.3 2023-11-30 05:27:38 +00:00
Adam Wathan
767b78cc30 Update changelog 2023-11-27 09:13:56 -05:00
Ngô Quốc Đạt
bce0481f40
Add logical properties support for float and clear (#12480) 2023-11-27 09:12:58 -05:00
Robin Malfait
ec0fe42968
sync package-lock.json 2023-11-27 13:36:22 +01:00
Anton Kastritskii
f75c3988b3
update lilconfig & postcss-load-config (#12455) 2023-11-27 13:36:06 +01:00
depfu[bot]
16d25c9746
Update lilconfig to version 3.0.0 (#12484)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-27 13:08:59 +01:00
depfu[bot]
9c70df1539
Update vite to version 5.0.2 (#12477)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-27 13:05:59 +01:00
depfu[bot]
4ef0274b44 Update postcss-load-config to version 4.0.2 2023-11-27 01:14:25 +00:00
depfu[bot]
304c2bad6c Update @swc/cli to version 0.1.63 2023-11-23 05:44:05 +00:00
depfu[bot]
eb2fe9494b
Update rollup to version 4.5.0 (#12458)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-11-21 06:46:44 -05:00
Adam Wathan
8b2c6e7684 Fix typo in changelog 2023-11-17 12:12:24 -05:00
Jordan Pittman
95d46a0e5d Update lockfile 2023-11-16 15:39:05 +00:00
Jordan Pittman
308c03b11b Update browserslist 2023-11-16 15:39:05 +00:00
Jordan Pittman
79e57ecb49 Update sourcemaps 2023-11-16 15:39:05 +00:00
Jordan Pittman
0a2aea2c9b Update test 2023-11-16 15:39:05 +00:00
Jordan Pittman
b4f3cddb50 Remove uses of ::-webkit-backdrop 2023-11-16 15:39:05 +00:00
depfu[bot]
7385f48e46 Update lightningcss to version 1.22.1 2023-11-16 15:39:05 +00:00
depfu[bot]
a42354c743 Update sass to version 1.69.5 2023-11-14 23:58:10 +00:00
depfu[bot]
166a7a417d Update fast-glob to version 3.3.2 2023-11-13 15:29:37 +00:00
Adam Wathan
e5eceb3879
Add appearance-auto utility (#12404)
* Add `appearance-auto` utility

* Update CHANGELOG

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2023-11-12 11:22:35 -05:00
Robin Malfait
a5a61580cd
Improve candidate detection in minified JS arrays (without spaces) (#12396)
* add test to verify `["util1","util2"]` works

* update extractor regex, to reduce valid values in the arbitrary value part

Co-authored-by: Autom <mijnnaamis2112@hotmail.com>

* add special case with deeply nested `[]`

* update changelog

* move oxide changelog itemsto the bottom

---------

Co-authored-by: Autom <mijnnaamis2112@hotmail.com>
2023-11-10 23:06:02 +01:00
depfu[bot]
1648b864c1 Update parcel to version 2.10.2 2023-11-09 05:32:22 +00:00
depfu[bot]
6fab6d700a Update @napi-rs/cli to version 2.16.5 2023-11-08 10:30:40 +00:00