refactor: standardize Input component prop naming

Replaces `className` prop with `extraClassName` across Input and PasswordInput components for consistency.

Updates PasswordInput to use numeric `topOffset` instead of string `topPosition` for better type safety and clearer intent.

Adds uncontrolled mode support to PasswordInput with internal state management and optional `defaultShowPassword` prop.

Removes unnecessary margin classes from various View components to clean up spacing.
This commit is contained in:
Uruk
2025-09-01 22:54:11 +02:00
parent be884ce6e6
commit 29d3360a10
4 changed files with 35 additions and 23 deletions

View File

@@ -131,7 +131,7 @@ export const JellyseerrSettings = () => {
</Text>
</View>
<Input
className='border border-neutral-800 mb-2'
extraClassName='border border-neutral-800 mb-2'
placeholder={t(
"home.settings.plugins.jellyseerr.server_url_placeholder",
)}
@@ -161,7 +161,7 @@ export const JellyseerrSettings = () => {
showPassword={showJellyseerrPassword}
onShowPasswordChange={setShowJellyseerrPassword}
layout='mobile'
topPosition='11'
topOffset={11}
/>
</View>
<Button