From 26b16046742205a5c6ac923243abadf2424c5937 Mon Sep 17 00:00:00 2001 From: Conor_Mack Date: Wed, 11 Mar 2020 16:28:09 +0000 Subject: [PATCH] Datepicker and icon bug fixes --- .../materialdesign-components/package.json | 2 + .../src/Common/Icon.svelte | 21 -- .../src/DatePicker/DatePicker.svelte | 182 +++++++++--------- .../src/IconButton/IconButton.svelte | 49 +++-- .../src/IconButton/_style.scss | 22 ++- .../src/Test/TestApp.svelte | 2 +- .../src/Test/props.js | 3 +- .../src/Textfield/Textfield.svelte | 22 ++- 8 files changed, 158 insertions(+), 145 deletions(-) diff --git a/packages/materialdesign-components/package.json b/packages/materialdesign-components/package.json index 576aebeed5..f21c6c8d6b 100644 --- a/packages/materialdesign-components/package.json +++ b/packages/materialdesign-components/package.json @@ -18,6 +18,7 @@ "@material/checkbox": "^4.0.0", "@material/data-table": "4.0.0", "@material/form-field": "^4.0.0", + "@material/icon-button": "4.0.0", "@material/list": "4.0.0", "@material/menu": "4.0.0", "@material/radio": "^4.0.0", @@ -25,6 +26,7 @@ "@material/textfield": "^4.0.0", "@nx-js/compiler-util": "^2.0.0", "bcryptjs": "^2.4.3", + "date-fns": "^2.10.0", "fs-extra": "^8.1.0", "lodash": "^4.17.15", "npm-run-all": "^4.1.5", diff --git a/packages/materialdesign-components/src/Common/Icon.svelte b/packages/materialdesign-components/src/Common/Icon.svelte index bb2ac8d957..d4820fcf6c 100644 --- a/packages/materialdesign-components/src/Common/Icon.svelte +++ b/packages/materialdesign-components/src/Common/Icon.svelte @@ -1,31 +1,10 @@ {icon} -{#if useRipple} -
- {icon} -
-{:else} - {icon} -{/if} - - diff --git a/packages/materialdesign-components/src/DatePicker/DatePicker.svelte b/packages/materialdesign-components/src/DatePicker/DatePicker.svelte index e5b693de6e..142805533f 100644 --- a/packages/materialdesign-components/src/DatePicker/DatePicker.svelte +++ b/packages/materialdesign-components/src/DatePicker/DatePicker.svelte @@ -1,5 +1,5 @@ - -