diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cb3a48b..d6663c18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,19 @@ 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.4.0](https://github.com/silinternational/ui-components/releases/tag/v2.4.0) - 2021-08-03 + +### Added +- capitalize to global.scss +- $$class.props and isFullHeightMenu property to Drawer +- button to menu array in Drawer + +### Changed +- update README index + +### Fixed +- typo in global.scss +- bug in Drawer by defaulting to modal ## [2.3.1](https://github.com/silinternational/ui-components/releases/tag/v2.3.1) - 2021-07-22 ### Fixed diff --git a/README.md b/README.md index 074f02c5..3a5d3b29 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) +Drawer (title, subtitle, menuItems, toggle, modal, dismissible, hasTopAppBar, isFullHeightMenu) Fab (icon, label, url) diff --git a/components/global.scss b/components/global.scss index 873b55fc..33f44d47 100644 --- a/components/global.scss +++ b/components/global.scss @@ -172,6 +172,9 @@ $i: 0; text-transform: uppercase; } +.capitalize { + text-transform: capitalize; +} /* text color */ .black { color: #2A3032; @@ -250,7 +253,7 @@ $i: 0; align-items: flex-end; } -.align-items-strech { +.align-items-stretch { align-items: stretch; } diff --git a/components/mdc/Drawer/Drawer.svelte b/components/mdc/Drawer/Drawer.svelte index 4355e92c..e74bfd56 100644 --- a/components/mdc/Drawer/Drawer.svelte +++ b/components/mdc/Drawer/Drawer.svelte @@ -2,9 +2,9 @@