From 25942a687381b9a6a594761472041b2e5def1312 Mon Sep 17 00:00:00 2001 From: Luiza Date: Fri, 30 Jul 2021 15:37:59 -0300 Subject: [PATCH] feat: adding hideCloseButton prop to cv-inline-notification --- .../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`] = `