-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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(datetime-button): add datetime button for displaying datetime in overlays #25655
Conversation
Feel free to bikeshed APIs on this PR now that the implementation is complete. |
core/src/components/datetime-button/test/overlays/datetime-button.e2e.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work on this feature. A lot of people are going to be excited about this 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll want to add a default value to the datetimes in the recently added screenshot tests, to avoid conflicts down the line, but otherwise this looks great!
This reverts commit 96fbd33.
The docs for |
They are not live yet. You can see a preview version here: ionic-team/ionic-docs#2464 |
@liamdebeasi Great, thank you |
Pull request checklist
Please check if your PR fulfills the following requirements:
ionic-docs
repo, in a separate PR. See the contributing guide for details.npm run build
) was run locally and any changes were pushednpm run lint
) has passed locally and any fixes were made for failuresPull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue URL:
What is the new behavior?
ion-datetime-button
, a component that renders the formatted date + time for an associated datetime instance. This component should be used when screen space is constrained and serves as a drop in replacement for the old v5 datetime component while also using the new datetime layout.Does this introduce a breaking change?
Other information