2.6 KiB
Shared MUI widget locale continuation
Source and verifier: cb9d0397 on codex/a3-ui-10.
The live application locale boundary now merges the installed Material UI Bokmål component defaults into the existing theme. English derives from the original parent theme. Existing component defaults and both colour schemes are retained; no dependency, backend preference contract or generated-content language changed. This fixes English Autocomplete Open/Clear labels observed in Bokmål date-widget screenshots and supplies the installed defaults to other Material widgets that use them. Explicit per-component labels still require their own coverage.
Verification
- RED: the new real Autocomplete regression could not find Bokmål Open before the fix. Two earlier picker tests passed. Retained
RED.txt. - PASSED: 20 cases in four suites: real picker/shared controls, deterministic theme, loaded-theme states and Edit revision handling. The new case switches NB → EN → NB, retains the occupation selection and dark colour scheme. The Clear icon is normally hover-hidden; its title/ARIA label is checked directly. Intermediate test failures from querying this hidden icon by accessible role were corrected; these are not application failures or passing evidence.
- PASSED: production build, final TypeScript check and scoped ESLint. The final TypeScript check followed the test-selector correction; application source was unchanged after the build.
- PASSED: nine real-widget journeys / 27 accessibility captures / 18 intercepted fixture writes. Each of Los Angeles, Oslo and Kiritimati used EN/light/1440 mouse, NB/dark/390 touch and NB/light/768 touch. Every journey checked live Open/Clear labels, retained company selection, unchanged colour scheme, date selection/payloads, unsaved draft and no extra detail reads. Zero page errors/unavailable reads. External Google Fonts requests were blocked.
- The refreshed dark/mobile screenshot was visually inspected. This rerun overlaps the earlier flat-dialog matrix; do not add its counts to the earlier nine/27.
Evidence: evidence/shared-widgets/. Source/evidence/export manifest: SHARED_WIDGET_SOURCE_MANIFEST.json. Bindings describe scoped content, not a release image or whole-application acceptance.
Limits and rollback
Native-language, physical-device/assistive-technology, all-route/default-string coverage and additional European locales remain open. API traffic and writes used intercepted synthetic fixtures, not real persistence or services. No live provider/model/security/recovery qualification is implied. Revert cb9d0397 to roll back the locale merge and its regressions; there is no migration or data change.