-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[docs] Apply the new DX to the Button Field demos #14860
[docs] Apply the new DX to the Button Field demos #14860
Conversation
Signed-off-by: Michel Engelen <32863416+michelengelen@users.noreply.github.com> Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Signed-off-by: Gene Arch <genepaularch@gmail.com> Co-authored-by: Rom Grk <romgrk.cc@gmail.com>
Deploy preview: https://deploy-preview-14860--material-ui-x.netlify.app/ Updated pages: |
f27b6cd
to
f43bd0c
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
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.
Nice improvement over the existing approach, great work! 💙 👏
packages/x-date-pickers-pro/src/DateRangePicker/DateRangePicker.types.ts
Outdated
Show resolved
Hide resolved
packages/x-date-pickers-pro/src/DateTimeRangePicker/DateTimeRangePicker.types.ts
Outdated
Show resolved
Hide resolved
docs/data/date-pickers/custom-field/behavior-button/MaterialDateRangePicker.tsx
Show resolved
Hide resolved
docs/data/date-pickers/custom-field/behavior-button/MaterialDateRangePicker.tsx
Outdated
Show resolved
Hide resolved
docs/data/date-pickers/custom-field/behavior-button/MaterialDateRangePicker.tsx
Outdated
Show resolved
Hide resolved
docs/data/date-pickers/custom-field/behavior-button/MaterialDatePicker.tsx
Show resolved
Hide resolved
Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com> Signed-off-by: Flavien DELANGLE <flaviendelangle@gmail.com>
Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com> Signed-off-by: Flavien DELANGLE <flaviendelangle@gmail.com>
…ngePicker.types.ts Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com> Signed-off-by: Flavien DELANGLE <flaviendelangle@gmail.com>
…r.types.ts Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com> Signed-off-by: Flavien DELANGLE <flaviendelangle@gmail.com>
…teRangePicker.tsx Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com> Signed-off-by: Flavien DELANGLE <flaviendelangle@gmail.com>
…o refacto-button-custom-field
Co-authored-by: Lukas Tyla <llukas.tyla@gmail.com> Signed-off-by: Flavien DELANGLE <flaviendelangle@gmail.com>
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.
One last nitpick here but otherwise the doc changes look good. 👍
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…o refacto-button-custom-field
Co-authored-by: Sycamore <71297412+samuelsycamore@users.noreply.github.com> Signed-off-by: Flavien DELANGLE <flaviendelangle@gmail.com>
Part of #14496
Doc preview
Packages
DateRangePickerFieldProps
andDateTimeRangePickerFieldProps
useDesktopPicker
and equivalent hooks to not enforce it yet because it was non trivial, once we have more info passed through the context it should be easier to enforce this kind of things, right now the typing is super hard to modify without introducing TS errors).Docs
DatePickerFieldProps
patternButton
to supportsx
,className
etc...I did not migrate those demo to use the new multi file demo feature because it is broken when used inside nested folder.