From 47fb90f2c0fd8ac07ccb454403d18ceac2d81491 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 11 Feb 2019 16:44:28 +0100 Subject: [PATCH] feat: make textarea ux team compliant --- .../src/pages/uilib/elements/textarea.md | 32 +++++------------- .../src/style/core/helper-classes.scss | 31 +++++++++++------ .../__tests__/Textarea.screenshot.test.js | 27 +++++++++++++++ ...the-active-textarea-style-1-79d70.snap.png | Bin 0 -> 7654 bytes ...he-default-textarea-style-1-2ef6c.snap.png | Bin 0 -> 7492 bytes .../src/style/themes/theme-ui/textarea.scss | 8 +++++ .../dnb-ui-lib/stories/elementsStories.js | 4 +++ 7 files changed, 67 insertions(+), 35 deletions(-) create mode 100644 packages/dnb-ui-lib/src/style/elements/__tests__/Textarea.screenshot.test.js create mode 100644 packages/dnb-ui-lib/src/style/elements/__tests__/__snapshots__/textarea-screenshot-test-js-textarea-screenshot-have-to-match-the-active-textarea-style-1-79d70.snap.png create mode 100644 packages/dnb-ui-lib/src/style/elements/__tests__/__snapshots__/textarea-screenshot-test-js-textarea-screenshot-have-to-match-the-default-textarea-style-1-2ef6c.snap.png diff --git a/packages/dnb-design-system-portal/src/pages/uilib/elements/textarea.md b/packages/dnb-design-system-portal/src/pages/uilib/elements/textarea.md index fe3e91e716c..583b51ae721 100644 --- a/packages/dnb-design-system-portal/src/pages/uilib/elements/textarea.md +++ b/packages/dnb-design-system-portal/src/pages/uilib/elements/textarea.md @@ -9,30 +9,22 @@ import ComponentBox from 'Tags/ComponentBox' {` -
-