Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add past and future parts to cells in date picker calendar #7691

Merged
merged 4 commits into from
Aug 29, 2024

Conversation

FrediWa
Copy link
Contributor

@FrediWa FrediWa commented Aug 23, 2024

Description

Adds past and future parts for styling the past and future dates in the month calendar. Based on the fact that the parts today and disabled are not mutually exclusive, past and future parts can also be applied to disabled cells. It'll be up to the user to use CSS selectors in a way to get what they want.

Fixes vaadin/flow-components#5165

Type of change

  • Feature

@FrediWa FrediWa requested a review from vursen August 23, 2024 09:08
@FrediWa FrediWa requested a review from vursen August 26, 2024 11:47
FrediWa and others added 2 commits August 27, 2024 11:33
Co-authored-by: Tomi Virkki <tomivirkki@users.noreply.github.com>
Copy link

@FrediWa FrediWa merged commit 8471108 into main Aug 29, 2024
9 checks passed
@FrediWa FrediWa deleted the feat/add-past-future-parts branch August 29, 2024 07:59
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.5.0.alpha13 and is also targeting the upcoming stable 24.5.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Date Picker popup: Add part/classname to past dates so that they can be styled
4 participants