refactor: remove cursor-hit in hiddenInputClasses (#4474)

* refactor: remove cursor-hit in hiddenInputClasses

* Create lazy-ants-exercise.md

* chore(changeset): update package name

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
This commit is contained in:
Avan 2025-02-06 05:20:05 +08:00 committed by GitHub
parent 7402e00b62
commit a1cc378887
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View File

@ -0,0 +1,5 @@
---
"@heroui/theme": patch
---
refactor: remove cursor-hit in hiddenInputClasses (#4474)

View File

@ -69,9 +69,6 @@ export const collapseAdjacentVariantBorders = {
};
export const hiddenInputClasses = [
// Variables
"[--cursor-hit-x:8px]",
// Font styles
"font-inherit",
"text-[100%]",
@ -88,8 +85,7 @@ export const hiddenInputClasses = [
// Positioning & Hit area
"absolute",
"top-0",
"start-[calc(var(--cursor-hit-x)*-1)]",
"w-[calc(100%+var(--cursor-hit-x)*2)]",
"w-full",
"h-full",
// Opacity and z-index