Skip to content

feat(datetime): add header parts#30945

Open
thetaPC wants to merge 2 commits intofeature-8.8from
FW-6997
Open

feat(datetime): add header parts#30945
thetaPC wants to merge 2 commits intofeature-8.8from
FW-6997

Conversation

@thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Feb 4, 2026

Issue number: resolves #30083, resolves #30830


What is the current behavior?

There's no way to customize the header when using a grid style. This includes the entire header, prev/next buttons, and the days of the week container. The only section that can customized within the header is the month/year picker. This limits developers from being able to make changes to match their styles.

What is the new behavior?

  • Added parts to the header container, prev/next buttons, prev button, next button, and days of the week container.
  • Added tests for the next parts.
  • Added a test for the existing month/year picker part.
  • Updated the custom test page to show how to use all the parts mentioned: header container, month/year picker, prev/next buttons, prev button, next button, and days of the week container

Does this introduce a breaking change?

  • Yes
  • No

Other information

Preview

@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment Feb 5, 2026 11:10pm

Request Review

@github-actions github-actions bot added the package: core @ionic/core package label Feb 4, 2026
expect(backgroundColor).toBe('rgb(218, 216, 255)');
});

test('should be able to customize month/year picker part within the grid style', async ({ page }, testInfo) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We didn't have a test for this so I added it.

@thetaPC thetaPC marked this pull request as ready for review February 4, 2026 22:39
@thetaPC thetaPC requested a review from a team as a code owner February 4, 2026 22:39
@thetaPC thetaPC requested review from OS-jacobbell and ShaneK and removed request for OS-jacobbell February 4, 2026 22:39
@thetaPC thetaPC changed the title feat(datetime): add header parts to grid style feat(datetime): add header parts Feb 6, 2026
Copy link
Member

@ShaneK ShaneK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! Awesome work!

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

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants