Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core,presets)!: update to use the recursive callback
- Loading branch information
1 parent
84dfb34
commit e6582c7
Showing
15 changed files
with
155 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,25 @@ | ||
// Vitest Snapshot v1 | ||
|
||
exports[`variants > selector section is merged in order 1`] = ` | ||
"/* layer: default */ | ||
.prefix .pre\\\\:back\\\\:foo::pseudo, | ||
.prefix .replaced, | ||
.prefix .replaced::pseudo, | ||
.replaced::pseudo{name:bar;}" | ||
`; | ||
|
||
exports[`variants > variant can stack 1`] = ` | ||
"/* layer: default */ | ||
.first\\\\:second\\\\:third\\\\:foo > :third > :second > :first, | ||
.first\\\\:three\\\\:two\\\\:foo > :first + :three + :two, | ||
.one\\\\:two\\\\:three\\\\:foo + :one + :two + :three{name:bar;}" | ||
.first\\\\:second\\\\:third\\\\:foo > :first > :second > :third, | ||
.first\\\\:three\\\\:two\\\\:foo > :first + :two + :three, | ||
.one\\\\:two\\\\:three\\\\:foo + :three + :two + :one{name:bar;}" | ||
`; | ||
|
||
exports[`variants > variant context is propagated 1`] = ` | ||
"/* layer: default */ | ||
.foo{name:bar;} | ||
/* layer: variant */ | ||
@supports{ | ||
.selector{name:bar !important;} | ||
:prefix > .selector::pseudo{name:bar !important;} | ||
}" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters