Add the prop checked to the list icon a checkmark.
+
+
Add the prop checkmark to make the list icon a checkmark.
Add the prop active to make the list icon and header blue.
-
Add the prop pending list item and icon grayed out.
+
Add the prop pending to make the list item and icon grayed out.
diff --git a/packages/web-components/package.json b/packages/web-components/package.json
index 020d25d88..9d23e7575 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.45.31",
+ "version": "4.46.3",
"description": "Stencil Component Starter",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
@@ -53,6 +53,7 @@
"eslint-plugin-i18next": "^6.0.0-4",
"jest": "^26.6.3",
"jest-cli": "^26.6.3",
+ "jest-transformer-svg": "^2.0.1",
"lit-html": "^1.3.0",
"postcss-url": "^10.1.1",
"puppeteer": "^10.0.0",
diff --git a/packages/web-components/src/assets/VCL-icon-white.svg b/packages/web-components/src/assets/VCL-icon-white.svg
new file mode 100644
index 000000000..9096737bd
--- /dev/null
+++ b/packages/web-components/src/assets/VCL-icon-white.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/packages/web-components/src/assets/arrow-right-white.svg b/packages/web-components/src/assets/arrow-right-white.svg
new file mode 100644
index 000000000..6c6e35e57
--- /dev/null
+++ b/packages/web-components/src/assets/arrow-right-white.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/packages/web-components/src/assets/va-seal.svg b/packages/web-components/src/assets/va-seal.svg
new file mode 100644
index 000000000..ef50becfd
--- /dev/null
+++ b/packages/web-components/src/assets/va-seal.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/packages/web-components/src/components.d.ts b/packages/web-components/src/components.d.ts
index cba8d61fb..6ebc8568b 100644
--- a/packages/web-components/src/components.d.ts
+++ b/packages/web-components/src/components.d.ts
@@ -340,6 +340,8 @@ export namespace Components {
*/
"uswds"?: boolean;
}
+ interface VaCrisisLineModal {
+ }
interface VaDate {
/**
* Whether or not an analytics event will be fired.
@@ -566,6 +568,10 @@ export namespace Components {
*/
"value"?: string;
}
+ interface VaMinimalHeader {
+ "header"?: string;
+ "subheader"?: string;
+ }
interface VaModal {
/**
* Additional DOM-nodes that should not be hidden from screen readers. Useful when an open modal shouldn't hide all content behind the overlay.
@@ -1489,6 +1495,12 @@ declare global {
prototype: HTMLVaCheckboxGroupElement;
new (): HTMLVaCheckboxGroupElement;
};
+ interface HTMLVaCrisisLineModalElement extends Components.VaCrisisLineModal, HTMLStencilElement {
+ }
+ var HTMLVaCrisisLineModalElement: {
+ prototype: HTMLVaCrisisLineModalElement;
+ new (): HTMLVaCrisisLineModalElement;
+ };
interface HTMLVaDateElement extends Components.VaDate, HTMLStencilElement {
}
var HTMLVaDateElement: {
@@ -1537,6 +1549,12 @@ declare global {
prototype: HTMLVaMemorableDateElement;
new (): HTMLVaMemorableDateElement;
};
+ interface HTMLVaMinimalHeaderElement extends Components.VaMinimalHeader, HTMLStencilElement {
+ }
+ var HTMLVaMinimalHeaderElement: {
+ prototype: HTMLVaMinimalHeaderElement;
+ new (): HTMLVaMinimalHeaderElement;
+ };
interface HTMLVaModalElement extends Components.VaModal, HTMLStencilElement {
}
var HTMLVaModalElement: {
@@ -1695,6 +1713,7 @@ declare global {
"va-card": HTMLVaCardElement;
"va-checkbox": HTMLVaCheckboxElement;
"va-checkbox-group": HTMLVaCheckboxGroupElement;
+ "va-crisis-line-modal": HTMLVaCrisisLineModalElement;
"va-date": HTMLVaDateElement;
"va-featured-content": HTMLVaFeaturedContentElement;
"va-file-input": HTMLVaFileInputElement;
@@ -1703,6 +1722,7 @@ declare global {
"va-loading-indicator": HTMLVaLoadingIndicatorElement;
"va-maintenance-banner": HTMLVaMaintenanceBannerElement;
"va-memorable-date": HTMLVaMemorableDateElement;
+ "va-minimal-header": HTMLVaMinimalHeaderElement;
"va-modal": HTMLVaModalElement;
"va-need-help": HTMLVaNeedHelpElement;
"va-notification": HTMLVaNotificationElement;
@@ -2128,6 +2148,8 @@ declare namespace LocalJSX {
*/
"uswds"?: boolean;
}
+ interface VaCrisisLineModal {
+ }
interface VaDate {
/**
* Whether or not an analytics event will be fired.
@@ -2402,6 +2424,10 @@ declare namespace LocalJSX {
*/
"value"?: string;
}
+ interface VaMinimalHeader {
+ "header"?: string;
+ "subheader"?: string;
+ }
interface VaModal {
/**
* Additional DOM-nodes that should not be hidden from screen readers. Useful when an open modal shouldn't hide all content behind the overlay.
@@ -3239,6 +3265,7 @@ declare namespace LocalJSX {
"va-card": VaCard;
"va-checkbox": VaCheckbox;
"va-checkbox-group": VaCheckboxGroup;
+ "va-crisis-line-modal": VaCrisisLineModal;
"va-date": VaDate;
"va-featured-content": VaFeaturedContent;
"va-file-input": VaFileInput;
@@ -3247,6 +3274,7 @@ declare namespace LocalJSX {
"va-loading-indicator": VaLoadingIndicator;
"va-maintenance-banner": VaMaintenanceBanner;
"va-memorable-date": VaMemorableDate;
+ "va-minimal-header": VaMinimalHeader;
"va-modal": VaModal;
"va-need-help": VaNeedHelp;
"va-notification": VaNotification;
@@ -3290,6 +3318,7 @@ declare module "@stencil/core" {
"va-card": LocalJSX.VaCard & JSXBase.HTMLAttributes;
"va-checkbox": LocalJSX.VaCheckbox & JSXBase.HTMLAttributes;
"va-checkbox-group": LocalJSX.VaCheckboxGroup & JSXBase.HTMLAttributes;
+ "va-crisis-line-modal": LocalJSX.VaCrisisLineModal & JSXBase.HTMLAttributes;
"va-date": LocalJSX.VaDate & JSXBase.HTMLAttributes;
"va-featured-content": LocalJSX.VaFeaturedContent & JSXBase.HTMLAttributes;
"va-file-input": LocalJSX.VaFileInput & JSXBase.HTMLAttributes;
@@ -3298,6 +3327,7 @@ declare module "@stencil/core" {
"va-loading-indicator": LocalJSX.VaLoadingIndicator & JSXBase.HTMLAttributes;
"va-maintenance-banner": LocalJSX.VaMaintenanceBanner & JSXBase.HTMLAttributes;
"va-memorable-date": LocalJSX.VaMemorableDate & JSXBase.HTMLAttributes;
+ "va-minimal-header": LocalJSX.VaMinimalHeader & JSXBase.HTMLAttributes;
"va-modal": LocalJSX.VaModal & JSXBase.HTMLAttributes;
"va-need-help": LocalJSX.VaNeedHelp & JSXBase.HTMLAttributes;
"va-notification": LocalJSX.VaNotification & JSXBase.HTMLAttributes;
diff --git a/packages/web-components/src/components/va-crisis-line-modal/test/va-crisis-line-modal.e2e.ts b/packages/web-components/src/components/va-crisis-line-modal/test/va-crisis-line-modal.e2e.ts
new file mode 100644
index 000000000..d182a7291
--- /dev/null
+++ b/packages/web-components/src/components/va-crisis-line-modal/test/va-crisis-line-modal.e2e.ts
@@ -0,0 +1,98 @@
+import { newE2EPage } from '@stencil/core/testing';
+
+describe('va-crisis-line-modal', () => {
+ it('renders', async () => {
+ const page = await newE2EPage();
+ await page.setContent(``);
+ const element = await page.find('va-crisis-line-modal');
+
+ expect(element).toEqualHtml(`
+
+
+
+
+
+
+
+
+
+ If you are a Veteran in crisis or concerned about one, connect with our caring, qualified responders for confidential help. Many of them are Veterans themselves.
+
+ If you are a Veteran in crisis or concerned about one, connect
+ with our caring, qualified responders for confidential help.
+ Many of them are Veterans themselves.
+