Repository navigation
feat(core): add mobile DateTimeInput picker - #5582
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR Modified ComponentsDateInput (@astryxdesign/core) · View in Storybook
DateTimeInput (@astryxdesign/core) · View in Storybook
Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Visual Regression614 added · 0 removed. View the report To accept these exact frames: Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
90c7085 to
978ff79
Compare
978ff79 to
e999ccb
Compare
e999ccb to
d785398
Compare
d785398 to
d9a099b
Compare
d9a099b to
3a3713b
Compare
3a3713b to
9e4281e
Compare
9e4281e to
b1c0040
Compare
b1c0040 to
f6e1b4f
Compare
|
/accept-visual 33038030350/3 No desktop visual regressions; these 170 added frames bootstrap previously unpromoted DateInput/DateTimeInput coverage, and the reviewed frames render correctly. The coarse-pointer mobile flow is verified separately. |
|
Visual acceptance refused: only a repository maintainer may accept stable visual changes. |
|
/accept-visual 33038030350/3 No desktop visual regressions; these 170 added frames bootstrap previously unpromoted DateInput/DateTimeInput coverage, and the reviewed frames render correctly. The coarse-pointer mobile flow is verified separately. |
|
Visual acceptance could not be recorded. See this workflow run for the rejected invariant or infrastructure error. |
|
Visual changes accepted for |



What this does
DateTimeInputnow fits the primary pointer:Save date) and stays disabled until the controlled value contains a valid selected dateSave datedisabled while keeping the Date panel openThere are no new public props. Existing controlled-value, async
changeAction, min/max, date constraints, 12h/24h, seconds, clear, disabled/loading, status, theming, and accessibility behavior are preserved on the touch surface.Interaction details
timePlaceholder.aria-expandedonly when the shared sheet is open on that segment's section.Verification
Learn more,Open sheet,Save changes,Save for later, andGet started.pnpm exec vitest run packages/core/src/DateTimeInput/DateTimeInputTouch.test.tsx --testNamePattern "Save date|directly to Date|padding clicks|keyboard activation|Time Save closes"— 1 file passed; 9 tests passed, 29 skipped.pnpm exec vitest run packages/core/src/DateTimeInput/DateTimeInput.test.tsx packages/core/src/DateTimeInput/DateTimeInputTouch.test.tsx— 2 files passed; 173 tests passed. React printed the existing act warnings in two desktop DateTimeInput tests.pnpm lint:strict— passed; 0 errors, 79 existing warnings.pnpm -F @astryxdesign/core typecheck— passed.pnpm -F @astryxdesign/core typecheck:docs— passed.pnpm check:sync— passed.pnpm check:i18n-catalog— passed; 350 keys over 468 references resolve; 352 en entries described; 29 locales consistent.pnpm check:changesets— passed; 51 changesets valid.pnpm -F @astryxdesign/core build— passed; 579 files compiled,astryx.css151.4 KB, no dev JSX, relative specifiers fully specified.pnpm -F @astryxdesign/storybook build— passed; Storybook build completed successfully. Vite emitted existing warnings for missing MDX story files, deprecatedoptimizeDeps.esbuildOptions, Lexical pure annotations, chunk size, and plugin timings.git diff --check— passed.The PR remains draft.