Skip to content

feat: ✨ enables theme overlays for material 3 date pickers#961

Merged
vonovak merged 2 commits intoreact-native-datetimepicker:masterfrom
dsoffiantini:material-theme-support
May 26, 2025
Merged

feat: ✨ enables theme overlays for material 3 date pickers#961
vonovak merged 2 commits intoreact-native-datetimepicker:masterfrom
dsoffiantini:material-theme-support

Conversation

@dsoffiantini
Copy link
Copy Markdown
Contributor

@dsoffiantini dsoffiantini commented Feb 19, 2025

Summary

This PR retrieves the resource ID of the materialCalendarTheme specified by the user inside styles.xml, which will default to the material 3 theme if not specified. This enables theming the date picker component when using Material 3 instead of user styling being overridden by the default theme.

Issue: #960

Test Plan

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I updated the typed files (TS and Flow)
  • I added a sample use of the API in the example project (example/App.js)
  • I have added automated tests, either in JS or e2e tests, as applicable

@dsoffiantini dsoffiantini force-pushed the material-theme-support branch from bdb990c to ea293f9 Compare February 19, 2025 04:41
@dsoffiantini dsoffiantini marked this pull request as ready for review February 21, 2025 05:50
@vonovak vonovak requested a review from sidorchukandrew March 9, 2025 09:06
@vonovak
Copy link
Copy Markdown
Member

vonovak commented May 26, 2025

hello @dsoffiantini,
Thanks for the PR!

It'd be nice to have the test plan filled out (for maintainers, for everyone reading the PR), but I'll trust this is a good change and merge without it.

Thank you

@vonovak vonovak enabled auto-merge (squash) May 26, 2025 10:16
@vonovak vonovak merged commit 612a197 into react-native-datetimepicker:master May 26, 2025
5 checks passed
vonovak pushed a commit that referenced this pull request May 26, 2025
# [8.4.0](v8.3.0...v8.4.0) (2025-05-26)

### Features

* **android:** ✨ enables theme overlays for material 3 date pickers ([#961](#961)) ([612a197](612a197))
@vonovak
Copy link
Copy Markdown
Member

vonovak commented May 26, 2025

🎉 This issue has been resolved in version 8.4.0 🎉

If this package helps you, consider sponsoring us! 🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants