Normalize organisms, PaymentStep feedback, cross-page spacing fix
- Organism normalize pass: fix FuneralFinderV3 transition timing (200ms → 150ms ease-in-out), add autodocs tag to V3 stories - Navigation: fix logo a11y — div with role="link" → proper <a> tag - ToggleButtonGroup: add align (start/center) and direction (row/column) props, bump description text from text.secondary to text.primary - PaymentStep: divider under subheading, lock icon alignment, centre- aligned payment options, vertical payment method stack, checkbox align - SummaryStep: save button → text variant (matches other pages), centred - All wizard pages: heading mb: 1 → mb: 2 for better breathing room - Style Dictionary: auto-generate tokens.d.ts, fix TS unused imports - tokens.d.ts: generated type declarations for 398 token exports Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -116,13 +116,23 @@ export const Navigation = React.forwardRef<HTMLDivElement, NavigationProps>(
|
||||
)}
|
||||
|
||||
<Box
|
||||
onClick={onLogoClick}
|
||||
component={onLogoClick ? 'a' : 'div'}
|
||||
href={onLogoClick ? '#' : undefined}
|
||||
onClick={
|
||||
onLogoClick
|
||||
? (e: React.MouseEvent) => {
|
||||
e.preventDefault();
|
||||
onLogoClick();
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
sx={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
cursor: onLogoClick ? 'pointer' : 'default',
|
||||
textDecoration: 'none',
|
||||
color: 'inherit',
|
||||
}}
|
||||
role={onLogoClick ? 'link' : undefined}
|
||||
aria-label={onLogoClick ? 'Home' : undefined}
|
||||
>
|
||||
{logo}
|
||||
|
||||
Reference in New Issue
Block a user