-
-
Notifications
You must be signed in to change notification settings - Fork 106
Pickers modal display plugin #608
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
Pickers modal display plugin #608
Conversation
…en openByDefault option is set to false materializecss#625
…odal display plugins
…sDateRange options combination
b7348eb to
1d2452a
Compare
|
The codebase has been rebased according to recent changes in v2-dev and I've added additional refinements required for this feature, this is ready for a coding review |
|
Looks nice! Why not use the existing Modal Component and implement the create methods there. It is ok for now i guess. Can you provide a storybooks kind of documentation for the date- and timepicker too? With all variants would be awesome. |
This was initially the idea, as the new Modal implementation was in parallel with the Pickers changes I decided to not take the risk implementing it in a manner that could possibly gets overridden or would require additional changes afterwards Let's make the transition to use the Modal Component in a separate pr, since the Modal component slightly might be refactored as wel to accompli with requirements in Pickers components
Definitely, I like the idea, perhaps it has already gone out of scope for this feature, it would be a better approach creating an overarching issue listing all components that are currently lacking storybooks Let me know if any additional changes would be required to make this pr work into v2-dev |
…in on calendar interaction
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.
why is this file needed? I think we should use the already existing popover! Modal was removed in the last version.
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.
Regarding #558
Excerpt from Material M3 specs
Three types: docked, modal, modal input
This is the reason why this was implemented in this way, I can confirm it could take additional refinements based on your remarks, would be great if we can split this reviewing up into several stages
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.
also this is not needed. We should use popover attribute. And in near future we can use anchor-positioning.
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.
This was already approved in #140 , can you clarify why this was approved and then dismissed afterwards?
The merge-base changed after approval.
The merge-base changed after approval.
The merge-base changed after approval.
|
also i can not approve it, i think someone else has to confirm too. Would be nice if you could take a look @bugy or @mauromascarenhas . Thanks |
…raction" This reverts commit 9237aed.
…method invokation
Proposed changes
Implements a modal display plugin in timepicker and datepicker components
Timepicker example:
Datepicker example:
Screenshots (if appropriate) or codepen:
Types of changes
Checklist: