v0.58.6
版本发布时间: 2024-03-15 03:34:13
unocss/unocss最新发布版本:v0.59.3(2024-04-16 11:35:44)
🚀 Features
-
core:
- Add option to output the internal layers as CSS Cascade Layers - by @RebeccaStevens and Simon He in https://github.com/unocss/unocss/issues/3587 (b798d)
-
eslint-plugin:
- Add new rule:
enforce-class-compile
- by @levchak0910 and Jacob Bowdoin in https://github.com/unocss/unocss/issues/3505 and https://github.com/unocss/unocss/issues/3506 (25a93)
- Add new rule:
-
preset-mini:
- Support for css property with the theme() - by @MellowCo in https://github.com/unocss/unocss/issues/3554 (8f57f)
- Add popover-open pseudo variant - by @henrikvilhelmberglund in https://github.com/unocss/unocss/issues/3619 (f3944)
- Support font-stretch rules - by @zyyv and Anthony Fu in https://github.com/unocss/unocss/issues/3565 (ad1bd)
- Allow shorter syntax for grid-cols utilities - by @AndrewBogdanovTSS, @zyyv and @antfu in https://github.com/unocss/unocss/issues/3533 and https://github.com/unocss/unocss/issues/3542 (ea68f)
🐞 Bug Fixes
- Capture group of RESOLVED_ID_RE - by @RebeccaStevens in https://github.com/unocss/unocss/issues/3588 (09514)
- Shortcuts will now respect any layer variants give them - by @RebeccaStevens in https://github.com/unocss/unocss/issues/3592 (2ffbd)
-
autocomplete:
- Fix background color autocomplete - by @jsardev in https://github.com/unocss/unocss/issues/3549 (809c5)
-
preset-mini:
- Handle arbitrary gradients correctly - by @henrikvilhelmberglund in https://github.com/unocss/unocss/issues/3589 (84088)
- Fixed shadow inset not working - by @lzl0304 and @antfu in https://github.com/unocss/unocss/issues/3612 (cc092)
-
webpack:
- Escape special chars in robust way - by @xc2 in https://github.com/unocss/unocss/issues/3570 (e1a8c)