From fd41a30880680a8c02f2f12772f2e237b827e2d9 Mon Sep 17 00:00:00 2001 From: Luiza Mendes <31076607+luizamendes@users.noreply.github.com> Date: Mon, 16 Aug 2021 05:53:18 -0300 Subject: [PATCH] feat: adding hideCloseButton prop to cv-inline-notification (#1233) Co-authored-by: Luiza Co-authored-by: Lee Chase --- .../cv-inline-notification.test.js.snap | 60 +++++++++++++++++++ .../__tests__/cv-inline-notification.test.js | 11 +++- .../cv-inline-notification.vue | 2 + .../stories/cv-inline-notification-story.js | 6 ++ 4 files changed, 78 insertions(+), 1 deletion(-) diff --git a/packages/core/__tests__/__snapshots__/cv-inline-notification.test.js.snap b/packages/core/__tests__/__snapshots__/cv-inline-notification.test.js.snap index 972b362ee..20a6ad9d1 100644 --- a/packages/core/__tests__/__snapshots__/cv-inline-notification.test.js.snap +++ b/packages/core/__tests__/__snapshots__/cv-inline-notification.test.js.snap @@ -1,5 +1,65 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`CvInlineNotification should not render close button when hideCloseButton is true 1`] = ` + +`; + +exports[`CvInlineNotification should not render close button when hideCloseButton is true 2`] = ` +
+
+ +
+

+

+
+
+ +
+`; + +exports[`CvInlineNotification should not render close button when hideCloseButton is true 3`] = ` + +`; + +exports[`CvInlineNotification should not render close button when hideCloseButton is true 4`] = ` +
+
+ +
+

+

+
+
+ +
+`; + exports[`CvInlineNotification should render correctly 1`] = `