From cd9d8b231bbd7a7ac6674d2b28f77cff93e5be9e Mon Sep 17 00:00:00 2001 From: Corrado Petrelli Date: Fri, 13 Sep 2024 07:08:51 +0200 Subject: [PATCH] fix(ISSUE-1474): add -webkit-calendar-picker-indicator pseudoclass (#1475) Co-authored-by: Adam Skoufis --- .changeset/cold-eyes-rescue.md | 5 +++++ packages/css/src/simplePseudos.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/cold-eyes-rescue.md diff --git a/.changeset/cold-eyes-rescue.md b/.changeset/cold-eyes-rescue.md new file mode 100644 index 000000000..399a86a6d --- /dev/null +++ b/.changeset/cold-eyes-rescue.md @@ -0,0 +1,5 @@ +--- +"@vanilla-extract/css": minor +--- + +Add `::-webkit-calendar-picker-indicator` as a valid pseudo-element diff --git a/packages/css/src/simplePseudos.ts b/packages/css/src/simplePseudos.ts index 14fc0f467..498cafa7e 100644 --- a/packages/css/src/simplePseudos.ts +++ b/packages/css/src/simplePseudos.ts @@ -35,6 +35,7 @@ const simplePseudoMap = { '::-ms-track': true, '::-ms-value': true, '::-webkit-backdrop': true, + '::-webkit-calendar-picker-indicator': true, '::-webkit-inner-spin-button': true, '::-webkit-input-placeholder': true, '::-webkit-meter-bar': true,