Repository navigation
fix(core): component audit — DateTimeInput, Divider, DateRangeInput - #3655
Merged
Merged
Conversation
…e token - DateTimeInput: remove manual xstyle re-declaration (already from BaseProps) - Divider: remove manual xstyle/className/style re-declarations (already from BaseProps) - DateRangeInput: use --text-label-size for preset buttons (interactive controls) instead of --text-body-size which is for content/display text
cixzhang
requested review from
ejhammond,
imdreamrunner,
josephfarina,
marie-lucas,
nynexman4464 and
thedjpetersen
as code owners
July 7, 2026 10:30
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
josephfarina
approved these changes
Jul 7, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Component Audit: DateInput, DateRangeInput, DateTimeInput, Dialog, Divider
Routine component audit covering checks 1-10 across five components.
Findings
Structure (check 7) — redundant escape hatch re-declarations:
DateTimeInput: manually declaresxstyle?: StyleXStylesdespite extendingBasePropswhich already provides it. Removed the redundant declaration andthe now-unused
StyleXStylesimport.Divider: manually declaresxstyle,className, andstylewith fullJSDoc despite extending
BaseProps<HTMLDivElement>. Removed all three and thenow-unused
StyleXStylesimport.Semantic type scale (check 1) — wrong token class:
DateRangeInput: preset quick-select buttons used--text-body-size(forcontent/display text). Preset buttons are interactive controls, so switched
to
--text-label-sizeand--text-label-leading. Both resolve to the samebase-theme value today, but themes that differentiate label from body text
will now render these buttons with the correct weight/size.
No issues found
DateInput, Dialog, and Divider passed all remaining checks cleanly. Prop naming,
themeProps placement, a11y wiring, export hygiene, and token usage are all
correct across all five components.
Night Watch — Component Auditor