Replace Flux UI with TallStackUI 4
Rewrite the layout and all Customers and Users pages with TallStackUI components and remove livewire/flux and its Boost skill. Fix the TallStackUI accessibility gaps found by the axe tests: - password reveal and theme switch have no accessible name: add <x-password-field> and keep the own theme toggle button - select.native label is not tied to the control: add aria-label - contrast: darker primary palette, soft-customized error colours and published alert/link colour classes; neutral buttons use subtle black - follow the system theme by default (localStorage key dark-theme) Load TallStackUI assets from the app URL so they work in the XAMPP subfolder, add Finnish TallStackUI strings, and drop inputmode=numeric from the business ID field so iOS keyboards show the hyphen. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -74,32 +74,28 @@ new class extends Component
|
||||
?>
|
||||
|
||||
<div class="mx-auto max-w-md space-y-6 p-4 sm:p-6 sm:pt-16">
|
||||
<flux:heading size="xl" level="1">{{ __('auth.reset_title') }}</flux:heading>
|
||||
<h1 class="text-2xl font-semibold">{{ __('auth.reset_title') }}</h1>
|
||||
|
||||
<flux:text>{{ __('auth.reset_intro') }}</flux:text>
|
||||
<p class="text-sm text-zinc-600 dark:text-zinc-300">{{ __('auth.reset_intro') }}</p>
|
||||
|
||||
<form wire:submit="resetPassword" class="space-y-6" novalidate>
|
||||
<flux:input wire:model="email" type="email" :label="__('auth.email')" autocomplete="username" required />
|
||||
<x-input wire:model="email" type="email" :label="__('auth.email')" autocomplete="username" required />
|
||||
|
||||
<flux:input
|
||||
<x-password-field
|
||||
wire:model="password"
|
||||
type="password"
|
||||
:label="__('auth.new_password')"
|
||||
:description="__('auth.password_rules')"
|
||||
:hint="__('auth.password_rules')"
|
||||
autocomplete="new-password"
|
||||
viewable
|
||||
required
|
||||
/>
|
||||
|
||||
<flux:input
|
||||
<x-password-field
|
||||
wire:model="password_confirmation"
|
||||
type="password"
|
||||
:label="__('auth.confirm_password')"
|
||||
autocomplete="new-password"
|
||||
viewable
|
||||
required
|
||||
/>
|
||||
|
||||
<flux:button type="submit" variant="primary">{{ __('auth.reset_submit') }}</flux:button>
|
||||
<x-button submit :text="__('auth.reset_submit')" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user