👏Feedback
Changelog
CustomDialog
Breaking changes
maxWidthis nowxlby default; usemdto get back the old effectshowActionshas been removed; for a dialog without actions, use DialogDisplay component
Improvements
is using DialogDisplay component internally and has now access to all the DialogDisplay props
Deprecations
overflowYprop was deprecated and will be removed in a future version as it is not necessary anymore; if needed, it's behavior can be achieved throughcontentPropsandsxbuttonColorandbuttonSizeare deprecated, usebuttonPropswithcolorandsizeinstead
DialogDisplay
New features
render a Material-UI DialogContentText by providing
textContentpossibility to hide the close button by sending
showXas falseoverride each component of the dialog through
titleProps,contentProps,textContentProps,actionsProps,closeButtonPropsmake the backdrop transparent through the
transparentBackdroppropadd dividers to the top and bottom of the content using the
dividersprop
Fixes
fixed type for title
Improvements
dialog becomes full-screen for small and extra-small resolutions
Deprecations
overflowYprop was deprecated and will be removed in a future version as it is not necessary anymore; if needed, it's behavior can be achieved throughcontentPropsandsx
Forbidden
New features
button that redirects to the home page
new props
forbiddenButtonTextthat sets the text of the button
Improvements
new style
LinearProgress (old: CustomLinearProgress)
Breaking changes
renamed the component to LinearProgress
graycolor is now calledgrey
New features
can display a progress label using the
showLabelprop withlabelPropsfor customization
LoadingFakeText
possibility to choose the animation type(pulse, wave, false)
possibility to render different shapes of loading fake text (line, circular and rectangular)
NotFound
New features
customize NotFound component by providing
textanddetailsadd an image to NotFound component
Improvements
visual improvement on the component
Toast
Breaking changes
separation between theme and type; type
darkhas been removedan icon is displayed by default for the notificaiton of type info, error, warning, success
following css classes have been removed:
.Toastify__toast--dark { }.Toastify__toast--default { }.Toastify__toast--info { }.Toastify__toast--success { }.Toastify__toast--warning { }.Toastify__toast--error { }
New features
possibility to change the transition effect: Slide(default), Zoom, Bounce and Flip
possibility to change the position on the screen
promise support by rendering a toast using:
usePromiseToastthree different themes available:
light,darkandcolored
Last updated