fix(theme): tab cursor (#5816)

* fix(theme): remove inset-0 for tab cursor

* chore(deps): bump theme peerDep

* chore: add changeset
This commit is contained in:
WK 2025-10-17 10:41:49 +08:00 committed by GitHub
parent 37378704f1
commit b38a2cfb58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 6 deletions

View File

@ -0,0 +1,6 @@
---
"@heroui/tabs": patch
"@heroui/theme": patch
---
fix tab cursor (#5790, #5809)

View File

@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.22",
"@heroui/theme": ">=2.4.23",
"@heroui/system": ">=2.4.18"
},
"dependencies": {

View File

@ -85,12 +85,9 @@ const tabs = tv({
},
variants: {
variant: {
solid: {
cursor: "inset-0",
},
solid: {},
light: {
tabList: "bg-transparent dark:bg-transparent",
cursor: "inset-0",
},
underlined: {
tabList: "bg-transparent dark:bg-transparent",
@ -98,7 +95,6 @@ const tabs = tv({
},
bordered: {
tabList: "bg-transparent dark:bg-transparent border-medium border-default-200 shadow-xs",
cursor: "inset-0",
},
},
color: {