feat(Date Input): add appearance prop to DateInput, DateTimeInput, and DateRangeInput components#3137
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
appearance prop to date input components for fil…appearance prop to DateInput, DateTimeInput, and DateRangeInput components
… border color logic
🦋 Changeset detectedLatest commit: c1e5e5a The changes in this PR will be included in the next version bump. This PR includes changesets to release 98 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…meInput components
|
@ddouglasz looks great so far, thanks! Just 2 wishes:
|
Contributor
Author
@FilPob Both requests updated: 18812b3 Please check the preview again. |
Contributor
Author
|
Updated after our conversation to horizontalConstraint={8} here
|
|
Great! Looks good now |
FilPob
approved these changes
Jun 12, 2025
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.



Summary
Feat: add
appearanceprop to date input components for filter stylingIntroduce a new
appearanceprop with a ‘filter’ option for DateInput, DateTimeInput, and DateRangeInput components. This allows for a cleaner, inline appearance suitable for filter components, removing borders and box shadows, and keeping the calendar always open. Update styles and documentation accordingly.To use the date filters, there are some visual modifications that need to happen in the different date inputs to support the designs and ux of the filters pattern. Most of these changes are dependent on new props to set these options when the component is used in a filter component.
Add support for
appearance: 'filter'to DateInput, DateTimeInput, and DateRangeInput components. When set to 'filter', the components:This follows the same design pattern established in select input components and enables date inputs to be used effectively within filter components and search interfaces.
New Props:
appearance?: 'default' | 'filter'- Controls the visual styling of the date inputExamples: