All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- I18n on readme file.
- Indonesian and Thai translations.
- Norwegian and Norwegian variant translation.
- I18n Ar, Hu.
customPixelEventId
tomodal-layout
block.
- I18n Da, Fi, Ja, Ko and Ro.
- Crowdin configuration file.
- New CSS Handle:
modal
. - Add prop
classes
to exported components.
- Avoid usage of
findDOMNode
.
- Migrate to [email protected].
- Prop
zIndexValue
to themodal-layout
block.
- Close modal when the URL changes.
- Types from
ModalContext
.
- Trigger
load-session
not working when some other modal renders before theload-session
modal.
- Bump dependencies versions.
customPixelEventId
tomodal-trigger
block.
- Modal changing the behavior of the back button.
- Feature to close the modal when the back button is clicked.
- Export component
ModelContextProvider
inModelContext
entrypoint.
- Backdrop not working if component is used directly (not using blocks).
- Updated README.md file with
modal-header
andmodal-content
blocks and new prop tables.
modal-actions.close
interface, to allow users to add a button to close the modal.
- Update dependencies.
- Add tests.
- Update tooling and fix lint problems.
- New Trigger
load-session
to themodal-trigger
block.
- Scroll lock not freeing the body after it closes the modal in some cases.
- Remove unnecessary
fowardRef
.
- Screen moving to the right when open the modal due to the space of the scroll bar.
- Bump
acorn
version in/react
.
- CSS handle when in the
modal-actions
block when you reach the bottom of the content in scroll. - Prop
iconCloseSize
to themodal-header
block.
- Use
React.memo
in some components to improve performance when you scroll the content.
- Close button not working if the user uses a position absolute with it.
modal-actions
block.
- Not being able to create links with
target="_blank"
inside of the modals.
- Launch first stable version.
- Add
overflow: auto;
topaperScrollContent
handle.
- Export
useModalDispatch
hook.
- Modal not removing the
hiddenBody
class if it gets unmounted without beeing closed.
- Basic implementations of the components
Backdrop
,BaseModal
andModal
. - Context to open and close the modal.
- Support to
fullScreen
mode. scroll
andshowContentDividers
props.- Dismiss when press
Esc
key. - Basic support to animations +
Fade
animation component. - Create the
modal-content
andmodal-header
blocks. - Trigger options.
- Close with back button of the browser.
- Support for alternative containers.