From ad147b55a5b51cd44e33bbaa09b7b9be18cfe8d2 Mon Sep 17 00:00:00 2001 From: Noel Kim Date: Tue, 24 Dec 2024 19:38:53 +0900 Subject: [PATCH 1/2] fix(css): self-nesting works wrong way with conditions --- packages/core/src/conditions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/conditions.ts b/packages/core/src/conditions.ts index 141d558958..fc8097c7db 100644 --- a/packages/core/src/conditions.ts +++ b/packages/core/src/conditions.ts @@ -11,7 +11,7 @@ import { Breakpoints } from './breakpoints' import { parseCondition } from './parse-condition' import { compareAtRuleOrMixed } from './sort-style-rules' -const order: ConditionType[] = ['at-rule', 'self-nesting', 'combinator-nesting', 'parent-nesting'] +const order: ConditionType[] = ['at-rule', 'self-nesting', 'combinator-nesting', 'parent-nesting', 'mixed'] interface Options { conditions?: ConditionsConfig From b9af232911d79d45fca9e2eece3743a77d51422a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noel=20Kim=20=28=EA=B9=80=EB=AF=BC=ED=98=81=29?= Date: Tue, 24 Dec 2024 19:43:59 +0900 Subject: [PATCH 2/2] Create brave-wolves-draw.md --- .changeset/brave-wolves-draw.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/brave-wolves-draw.md diff --git a/.changeset/brave-wolves-draw.md b/.changeset/brave-wolves-draw.md new file mode 100644 index 0000000000..e2c7c91f51 --- /dev/null +++ b/.changeset/brave-wolves-draw.md @@ -0,0 +1,5 @@ +--- +"@pandacss/core": patch +--- + +fix(css): self-nesting works wrong way with conditions