Skip to content

Commit 6085b47

Browse files
committed
add :user-valid and :user-invalid arbitrary variant replacements
1 parent 1b53461 commit 6085b47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/@tailwindcss-upgrade/src/codemods/template/migrate-modernize-arbitrary-values.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ export function migrateModernizeArbitraryValues(
242242
else if (value === ':required') return 'required'
243243
else if (value === ':valid') return 'valid'
244244
else if (value === ':invalid') return 'invalid'
245+
else if (value === ':user-valid') return 'user-valid'
246+
else if (value === ':user-invalid') return 'user-invalid'
245247
else if (value === ':in-range') return 'in-range'
246248
else if (value === ':out-of-range') return 'out-of-range'
247249
else if (value === ':read-only') return 'read-only'

0 commit comments

Comments
 (0)