From c787e75deec7b6c5b9d9acda827b9f960f68b996 Mon Sep 17 00:00:00 2001 From: Andrew Steele Date: Thu, 9 Nov 2023 12:17:30 -0500 Subject: [PATCH 1/2] Deprecating va-notification in storybook --- .../storybook/stories/va-notification.stories.jsx | 4 ++-- .../components/va-notification/va-notification.tsx | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/storybook/stories/va-notification.stories.jsx b/packages/storybook/stories/va-notification.stories.jsx index 6ee140675..f2e303ad1 100644 --- a/packages/storybook/stories/va-notification.stories.jsx +++ b/packages/storybook/stories/va-notification.stories.jsx @@ -5,9 +5,9 @@ import { getWebComponentDocs, propStructure, StoryDocs } from './wc-helpers'; const notificationDocs = getWebComponentDocs('va-notification'); export default { - title: 'Components/Notification', + title: 'Deprecated/Notification', id: 'components/va-notification', - argTypes: { + argTypes: { children: { table: { disable: true, diff --git a/packages/web-components/src/components/va-notification/va-notification.tsx b/packages/web-components/src/components/va-notification/va-notification.tsx index ea43bae08..813089c08 100644 --- a/packages/web-components/src/components/va-notification/va-notification.tsx +++ b/packages/web-components/src/components/va-notification/va-notification.tsx @@ -3,8 +3,8 @@ import { Element, Event, EventEmitter, - Host, - Prop, + Host, + Prop, h, Listen, } from '@stencil/core'; @@ -12,8 +12,8 @@ import classnames from 'classnames'; /** * @componentName Notification - * @maturityCategory caution - * @maturityLevel proposed + * @maturityCategory dont_use + * @maturityLevel deprecated */ @Component({ @@ -84,7 +84,7 @@ export class VaNotification { * If `true`, the component-library-analytics event is disabled. */ @Prop() disableAnalytics?: boolean = false; - + /** * Fires when the component is closed by clicking on the close icon. This fires only * when closeable is true. @@ -106,7 +106,7 @@ export class VaNotification { componentLibraryAnalytics: EventEmitter; /** - * Listen for the va-link GA event and capture it so + * Listen for the va-link GA event and capture it so * that we can emit a single va-notification GA event that includes * the va-link details. */ From 074265d4754e2b862efef358c78242c8e353f4df Mon Sep 17 00:00:00 2001 From: Andrew Steele Date: Thu, 9 Nov 2023 14:38:57 -0500 Subject: [PATCH 2/2] Version bump --- packages/web-components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-components/package.json b/packages/web-components/package.json index a0224fda0..874d3b7bf 100644 --- a/packages/web-components/package.json +++ b/packages/web-components/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/web-components", - "version": "4.47.0", + "version": "4.47.1", "description": "Stencil Component Starter", "main": "dist/index.cjs.js", "module": "dist/index.js",