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:
2026-03-31 14:13:40 +11:00
parent 8c42000692
commit 9b75aa7ef3
18 changed files with 472 additions and 31 deletions

View File

@@ -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}