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.
- Indicate the prop
text
in"rich-text#open-drawer"
.
renderingStrategy
prop to control when the drawer's children should be rendered
- aria-hidden into
Swipable
- Prop for drawer close button:
text
customPixelEventId
prop.
- CSS Handle for drawer overlay:
overlay
andoverlay--visible
.
- Scrollbar showing even when there's no overflow.
backdropMode
prop todrawer
.
- Bump dependencies versions.
- Class names with CSS Handles.
- Lock page scroll with
overflow: hidden
instead of fixing its position.
- New CSS Handle
drawerContent
- New block
drawer-header
anddrawer-close-button
.
- Drawer trigger block never being rendered.
- Correctly identify if animation is stopped or not.
- New
drawer-trigger
interface.
- Drawer now closes on its own if the user clicks a link inside it.
useLockScroll
now blocks the scroll of the body element instead of the html.
- Allows dragging from outside of the drawer.
- Preserves momentum after swipe release.
- Prevents rendering of content if the menu has not been opened.
- Issue where client rendering on the Portal component would be inconsistent with SSR.
- "Accordeon effect" when opening the drawer, when the scrollbars are visible in the user's OS.
- Allow any block inside drawer.
- Support for new values for
slideDirection
prop:'rightToLeft'
and'leftToRight'
.
- New
childrenContainer
CSS handle.
- Wrong CSS handle being applied to the close button.
- Bug in IE11
- New
isFullWidth
,slideDirection
andmaxWidth
props toDrawer
component. - Support for
.openIconContainer
,closeIconContainer
andcloseIconButton
CSS handles.
- Allow
rich-text
andflex-layout
blocks on drawer.
- Fix typo on tachyons class.
- Fix width of drawer.
- Prevent scroll from locking when the Drawer is unmounted without being closed.
- Add scroll to drawer element.
- Locks scroll on iOS
- Added category-menu to interfaces.json