From 7ef554c03431be22a32efec95ad919dee45dcbc3 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 7 May 2018 16:47:05 -0400 Subject: [PATCH] fix(as-input): support multiple input group prepend/append elements --- .../__snapshots__/Storyshots.test.js.snap | 148 +++++++++++++----- src/InputText/InputText.stories.jsx | 21 +++ src/asInput/README.md | 8 +- src/asInput/asInput.test.jsx | 42 +++++ src/asInput/index.jsx | 43 ++++- 5 files changed, 215 insertions(+), 47 deletions(-) diff --git a/.storybook/__snapshots__/Storyshots.test.js.snap b/.storybook/__snapshots__/Storyshots.test.js.snap index 4f403fed5e..d368fc367f 100644 --- a/.storybook/__snapshots__/Storyshots.test.js.snap +++ b/.storybook/__snapshots__/Storyshots.test.js.snap @@ -16050,7 +16050,7 @@ exports[`Storyshots InputText with input group addons 1`] = ` htmlFor="asInput32" id="label-asInput32" > - Password + Username
+
+
+
+ + + Checkmark + +
+
+ +
+
+
+ +
+ +
+ +
+
+
@@ -25004,10 +25082,10 @@ exports[`Storyshots Tabs basic usage 1`] = ` >
  • @@ -25064,9 +25142,9 @@ exports[`Storyshots Tabs basic usage 1`] = `
    @@ -25075,9 +25153,9 @@ exports[`Storyshots Tabs basic usage 1`] = `
    @@ -25102,8 +25180,8 @@ exports[`Storyshots Textarea label as element 1`] = ` "", ] } - htmlFor="asInput37" - id="label-asInput37" + htmlFor="asInput38" + id="label-asInput38" >