fix(theme): helperWrapper padding (#5350)

* fix(number-input): decreased helperWrapper padding to maintain consistency

* Update beige-laws-heal.md

* chore(theme): change to p-1

* chore(deps): bump peerDependencies for theme pkg

* fix(number-input): incorrect versions

* chore(changeset): include number input

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
This commit is contained in:
Vishv Salvi 2025-06-09 08:08:51 +05:30 committed by GitHub
parent ff4b1b2393
commit ace931b44d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,6 @@
---
"@heroui/theme": patch
"@heroui/number-input": patch
---
Consistent helperWrapper padding (#5338)

View File

@ -39,7 +39,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/system": ">=2.4.10",
"@heroui/theme": ">=2.4.9"
"@heroui/theme": ">=2.4.16"
},
"dependencies": {
"@heroui/form": "workspace:*",

View File

@ -86,7 +86,7 @@ const numberInput = tv({
"data-[pressed=true]:opacity-disabled",
],
stepperWrapper: ["flex", "flex-col", "ps-1", "h-full", "justify-center"],
helperWrapper: "hidden group-data-[has-helper=true]:flex py-2 relative flex-col gap-1.5",
helperWrapper: "hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",
description: "text-tiny text-foreground-400",
errorMessage: "text-tiny text-danger",
},