Improve modal types, event param names always event
#2344
Fix: hide close button, if forced
is true. #2324.
- Support for IE11 has been discontinued. Therefore, we no longer transpile the code with Babel, the codebase is based on ES2019.
- Fix react 18 type children issue. #2295
- Fix: Inverted desktop and mobile close icons for
noheader
size option. #2293 - Hide the vertical scrollbar for
noheader
size option.
- Add a
noheader
option. #2292
Migrate to lit. #2207
- Fire custom 'axa-close' event when the modal closes and implement onClose Function for use with React.
- Fix: unnamed function
- Breaking: Removed margin-top from first child element and margin-bottom from last child element (only if attribute
forced
is being used).
- Changed the modal size and added a
small
size option. - Added open & close animations.
- Added
forced
possibility. This removes the default close functionality.
- Fix: Modal did not have
@axa-ch/materials
as dependency.
- Fix: close modal in Safari by pressing outside the modal.