diff --git a/CHANGELOG.md b/CHANGELOG.md index 815ab5c1..bd5dbe3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -## [2.5.0](https://github.com/silinternational/ui-components/releases/tag/v2.5.0) - 2021-08-03 +## [2.6.0](https://github.com/silinternational/ui-components/releases/tag/v2.6.0) - 2021-08-04 +### Added +- hideForMobile prop and optional border-white class in Drawer +- another slot to TopAppBar +- main-drawer-content id and actions slot to Drawer + +### Fixed +- TopAppBar adjust class removed when not needed by Drawer + +## [2.5.0](https://github.com/silinternational/ui-components/releases/tag/v2.5.0) - 2021-08-03 ### Added - slot to TopAppBar in Drawer diff --git a/README.md b/README.md index 3a5d3b29..f0bb9a71 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Dialog [ Dialog.Alert (open, title, defaultAction), Dialog.Simple(open, title) ] -Drawer (title, subtitle, menuItems, toggle, modal, dismissible, hasTopAppBar, isFullHeightMenu) +Drawer (title, subtitle, menuItems, toggle, modal, dismissible, hasTopAppBar, isFullHeightMenu, hideForMobile) Fab (icon, label, url) diff --git a/components/mdc/Drawer/Drawer.svelte b/components/mdc/Drawer/Drawer.svelte index 6d30a3d5..58aed308 100644 --- a/components/mdc/Drawer/Drawer.svelte +++ b/components/mdc/Drawer/Drawer.svelte @@ -2,9 +2,10 @@