Add the M3 date pickers
tests / lint (push) Successful in 1m5s
tests / feature (8.4) (push) Successful in 1m10s
tests / feature (8.5) (push) Successful in 1m7s
tests / browser (firefox, firefox) (push) Failing after 8m28s
tests / browser (chrome, chromium) (push) Failing after 5m58s
tests / browser (safari, webkit) (push) Failing after 7m24s

Docked, modal and modal input date pickers for single dates and ranges,
with locale month names, week start and typed format from Intl, min and
max, and the APG grid keyboard. Completes Phase 7.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V9NnLxnPp8vaaurb3Z1MFy
This commit is contained in:
Andreas Reinhold / reini
2026-09-13 08:48:56 +02:00
co-authored by Claude Opus 5
parent b8239dd215
commit f4be9848e2
13 changed files with 2370 additions and 1 deletions
+8
View File
@@ -21,6 +21,14 @@ M3 Expressive carousel keylines (resources/js/carousel.js)
Ported from androidx Compose Material 3 (carousel/*.kt), as recorded at the top of the file.
Copyright The Android Open Source Project. Apache License 2.0.
M3 date pickers (resources/views/components/datepicker.blade.php, resources/js/datepicker.js,
resources/css/components/datepicker.css)
Token values and layout from androidx Compose Material 3 (DatePickerModalTokens,
DateInputModalTokens, DatePicker.kt, DateRangePicker.kt, DateInput.kt; the input-format
derivation ported from datePatternAsInputFormat), commit 27cf9a7d5788aa0f5f2d8b6699ce279560daf326,
and the docked picker's values from @material/web's md-comp-date-picker-docked tokens (v0_192).
Copyright The Android Open Source Project; Copyright Google LLC. Apache License 2.0.
M3 time picker (resources/js/timepicker.js, resources/css/components/timepicker.css)
Behaviour and geometry ported from androidx Compose Material 3 (TimePicker.kt,
TimePickerDialog.kt, tokens/TimePickerTokens.kt, tokens/TimeInputTokens.kt), as recorded at