4944 Commits

Author SHA1 Message Date
Michael J. Rasicci
9e8d37a8e2
Add standalone-cli build for Windows Arm64 platform (#10001)
* Add standalone-cli build for Windows ARM64

* Fix path to binary on windows

* Fix style

* Simplify Windows mapping in standalone CLI tests

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-12-05 12:39:04 -05:00
depfu[bot]
a92932f4cc Update @swc/core to version 1.3.21 2022-12-03 14:58:24 +00:00
Jordan Pittman
d620e5d8de Remove .only 2022-12-02 12:20:43 -05:00
Jordan Pittman
c515a91f58
Don’t reorder webkit scrollbar pseudo elements (#9991)
* Don’t reorder webkit scrollbar pseudo elements

In reality, we need to stop reordering pseudo elements completely as `::before:hover` and `::after:hover` are 100% valid and should work per the CSS selector spec even though no browser currently supports it.

* Update changelog
2022-12-02 12:18:23 -05:00
Adam Wathan
a1249779ec Make button show up 2022-12-01 10:41:28 -05:00
Adam Wathan
6f53bded9d Rename swcify script to build 2022-12-01 10:10:10 -05:00
Jordan Pittman
e8b036567d
Clip unbalanced closing brackets in arbitrary values (#9973)
* Properly clip when there are too many `]` characters

* Update changelog
2022-12-01 09:43:55 -05:00
Jonathan Reinink
8f49251c0f
Update CHANGELOG.md 2022-11-30 18:22:46 -05:00
Cameron Huntington
293ee902cf
Alphabetize theme keys in default config (#9953)
* alphabetize several theme properties

* Alphabetize all `theme` properties in default config

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
2022-11-30 18:21:18 -05:00
Robin Malfait
4f92e2ff5e
Improve return value of resolveConfig, unwrap ResolvableTo (#9972)
* improve return value of `resolveConfig`, unwrap `ResolvableTo`

* update changelog
2022-11-30 14:26:15 +01:00
Robin Malfait
cac5a28c41 npm run style -- --fix 2022-11-30 11:38:37 +00:00
depfu[bot]
f43997de00 Update prettier to version 2.8.0 2022-11-30 11:38:37 +00:00
Adam Wathan
cbbfa827a4
Support variable shorthand for arbitrary modifiers (#9962)
* Support variable shorthand for arbitrary modifiers

* Update changelog

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2022-11-29 16:06:58 -05:00
Jordan Pittman
1d23dcbe92
Add --watch=always option to prevent exit when stdin closes (#9966)
* Support `--flag=value` syntax for manually-parsed CLI args

* Don’t exit when stdin closes if using `--watch=always`

* Update changelog
2022-11-29 14:57:07 -05:00
nakajima a.k.a. nazomikan
705d21397c
Support renaming of output files by PostCSS plugin. (#9944)
* Support for rename of output files by postcss plugin.

* update changelog

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2022-11-29 11:17:39 +01:00
depfu[bot]
bf8f39a4db Update postcss-selector-parser to version 6.0.11 2022-11-28 12:19:36 +00:00
Robin Malfait
f0bac0f92f
only trigger oxide workflow for oxide branch 2022-11-28 13:06:56 +01:00
Robin Malfait
458950f5df
improve ci 2022-11-25 15:27:39 +01:00
Robin Malfait
ab47cee503
drop withAlpha on theme (#9906) 2022-11-25 14:03:50 +01:00
Adam Wathan
b7c1bee131
Update config.yml 2022-11-25 06:01:12 -05:00
depfu[bot]
873797fd96 Update esbuild to version 0.15.15 2022-11-24 19:13:29 +00:00
Adam Wathan
b5f5adf3f5
Support using variables as arbitrary values without var() (#9880)
* Support using variables as arbitrary values without var()

* Update changelog

* Add tests for variable fallback values

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2022-11-22 10:24:39 -05:00
Adam Wathan
ea10bb9d41
Add line-height modifier for font-size utilities (#9875)
* Add line-height modifier for font-size utilities

* Add test for arbitrary values

* Add failing test for non-configured modifier values

* Add more tests (including failing case)

* Remove unused code

* Add note + failing test

* Remove unused code

* Fix test

* Fix test

* Update changelog

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2022-11-22 09:37:07 -05:00
Adam Wathan
0d9e190785 Update changelog 2022-11-19 06:34:39 -05:00
depfu[bot]
03e3852b6f Update eslint to version 8.27.0 2022-11-18 21:29:41 +00:00
depfu[bot]
c379f18b2f Update postcss to version 8.4.19 2022-11-17 23:13:34 +00:00
Adam Wathan
a0d0d96ac6 Add additional matchUtilities test 2022-11-17 15:20:48 -05:00
Adam Wathan
cdbaa740f0 Rename isValidArbitraryValue 2022-11-17 15:19:31 -05:00
Adam Wathan
e66110e6a3 Remove non-obvious unreachable code, add test 2022-11-17 12:54:28 -05:00
Robin Malfait
fb89b3c8a7
fix typo in CHANGELOG 2022-11-17 17:53:40 +01:00
Robin Malfait
8b4471778b
Fix foo-[abc]/[def] not being handled correctl (#9866)
* fix `foo-[abc]/[def]` not being handled correctly

This commit does a bit of cleanup, it also ensures that we lookup
`[abc]/[def]` in the `values` first, and if it doesn't exist, then we
start parsing all the values out.

We also ensure that `abc` and `def` are parsed out correctly for the
correct type instead of dropping the rule altogether because we happen
to end up with an `any` rule.

TODO: we should further clean the whole type system because this should
only be used to figure out what type an arbitrary value is and to find
the corresponding plugin and that's it.
One of the fixes is doing a crazy lookup and running a generator, even
though we know it is a lookup value so we should be done with all the
work anyways.

* update changelog
2022-11-17 17:53:12 +01:00
Jonathan Reinink
bc3d38b08b
Add container queries plugin to standalone CLI (#9865)
* Add container queries plugin to standalone CLI

* Add container queries to standalone CLI tests

* Update changelog
2022-11-17 10:18:27 -05:00
이현재
4aa18c9bcc
Fix little typo (#9861) 2022-11-17 06:56:32 -05:00
Robin Malfait
30df062a85
Cleanup unused variantOrder (#9829)
* cleanup unused `variantOrder`

* update changelog
2022-11-14 12:18:44 +01:00
Jordan Pittman
f2f1ee9b55 3.2.4 v3.2.4 2022-11-11 12:14:46 -05:00
Jordan Pittman
13eb1e28fb update changelog 2022-11-11 12:14:46 -05:00
Adam Wathan
22d45dd2dd
Update CHANGELOG.md 2022-11-11 12:14:29 -05:00
Jordan Pittman
602101d030
Allow users to block generation of certain utilities (#9812)
* Add blocklist tests

* Build initial implementation of blocklist

* wip

* wip

* wip

* Update changelog
2022-11-11 11:47:20 -05:00
Jordan Pittman
4ccc0fa12a
Make sure errors are always displayed when watching for changes (#9810)
* Make sure errors are always displayed when watching for changes

* Update changelog
2022-11-11 10:14:14 -05:00
Jordan Pittman
1482c7512a
Fix watching of files on Linux when renames are involved (#9796)
* Fix watching files on Linux

* Update changelog
2022-11-10 12:33:42 -05:00
Jordan Pittman
757a8d64a8 update changelog v3.2.3 2022-11-09 17:13:39 -05:00
Jordan Pittman
6166e592d7 3.2.3 2022-11-09 17:11:01 -05:00
Ankan Bag
8a2f9ed0d1
Fix !important selectors not being classified as valid class inside safelist config (#9791)
* fix !imp selector not safelisted as valid class

* add tests for !imp selectors in safelist config

* add test to check for invalid variants

* Only check important utilities for patterns that include a `!`

* Update changelog

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-11-09 16:58:12 -05:00
Jordan Pittman
6bd991201f
Only sort pseudo elements after classes when using @apply and variants (#9765)
* Sort pseudo elements ONLY after classes

* Update changelog
2022-11-09 16:41:16 -05:00
Jordan Pittman
aac468c1fb
Pick up changes from files that are both context and content deps (#9787)
* Pick up changes from files that are both context and content deps

We switched to absolute paths and it broke this revealing a lurking bug. Fun.

* Update changelog

* Update changelog
2022-11-09 10:22:25 -05:00
Will Cosgrove
1f5d117cf9
Fix shadowed variable when using raw content (#9773)
* Fix shadowed variable when using raw content

* Add test

* Update changelog

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-11-08 17:02:10 -05:00
depfu[bot]
48c0dcaf50 Update eslint to version 8.26.0 2022-11-04 23:00:18 +00:00
Robin Malfait
763fddefac
3.2.2 v3.2.2 2022-11-04 21:28:47 +01:00
Robin Malfait
a5b6ec2517
update changelog 2022-11-04 21:28:46 +01:00
depfu[bot]
260e392bf3 Update cssnano to version 5.1.14 2022-11-04 14:12:50 +00:00